home *** CD-ROM | disk | FTP | other *** search
/ Freelog 121 / FreelogMagazineJuilletAout2014-No121.iso / Outils / Adobe-Air / adobe-air_13.exe / [0] / setup.swf / scripts / RuntimeInstaller.as < prev    next >
Text File  |  2014-03-27  |  163KB  |  4,407 lines

  1. package
  2. {
  3.    import components.AppListAccessibility;
  4.    import components.InstallerApplication;
  5.    import components.LocalizedButton;
  6.    import components.LocalizedLabel;
  7.    import components.LocalizedText;
  8.    import components.OSButtonBarHBox;
  9.    import flash.accessibility.Accessibility;
  10.    import flash.accessibility.AccessibilityProperties;
  11.    import flash.display.DisplayObject;
  12.    import flash.events.ErrorEvent;
  13.    import flash.events.Event;
  14.    import flash.events.EventDispatcher;
  15.    import flash.events.IEventDispatcher;
  16.    import flash.events.IOErrorEvent;
  17.    import flash.events.KeyboardEvent;
  18.    import flash.events.MouseEvent;
  19.    import flash.events.ProgressEvent;
  20.    import flash.events.TimerEvent;
  21.    import flash.system.Capabilities;
  22.    import flash.ui.Keyboard;
  23.    import flash.utils.Timer;
  24.    import flash.utils.getDefinitionByName;
  25.    import mx.binding.Binding;
  26.    import mx.binding.BindingManager;
  27.    import mx.binding.IBindingClient;
  28.    import mx.binding.IWatcherSetupUtil;
  29.    import mx.containers.Canvas;
  30.    import mx.containers.Grid;
  31.    import mx.containers.GridItem;
  32.    import mx.containers.GridRow;
  33.    import mx.containers.VBox;
  34.    import mx.controls.Button;
  35.    import mx.controls.Image;
  36.    import mx.controls.Label;
  37.    import mx.controls.List;
  38.    import mx.controls.ProgressBar;
  39.    import mx.controls.Spacer;
  40.    import mx.controls.TextArea;
  41.    import mx.core.Application;
  42.    import mx.core.ClassFactory;
  43.    import mx.core.DeferredInstanceFromFunction;
  44.    import mx.core.IFlexDisplayObject;
  45.    import mx.core.UIComponent;
  46.    import mx.core.UIComponentDescriptor;
  47.    import mx.core.mx_internal;
  48.    import mx.events.FlexEvent;
  49.    import mx.events.PropertyChangeEvent;
  50.    import mx.events.StyleEvent;
  51.    import mx.resources.ResourceManager;
  52.    import mx.skins.ProgrammaticSkin;
  53.    import mx.states.AddChild;
  54.    import mx.states.RemoveChild;
  55.    import mx.states.SetProperty;
  56.    import mx.states.SetStyle;
  57.    import mx.states.State;
  58.    import mx.styles.CSSStyleDeclaration;
  59.    import mx.styles.IStyleClient;
  60.    import mx.styles.StyleManager;
  61.    import mx.utils.ObjectProxy;
  62.    import skins.SimpleScrollArrowSkin;
  63.    import skins.SimpleScrollThumbSkin;
  64.    import skins.SimpleScrollTrackSkin;
  65.    import skins.SimpleTwoColorBorder;
  66.    
  67.    use namespace mx_internal;
  68.    
  69.    public class RuntimeInstaller extends InstallerApplication implements IBindingClient
  70.    {
  71.       
  72.       private static const Adobe_patent_P758:String = "AdobePatentID=\"P758\"";
  73.       
  74.       private static var _watcherSetupUtil:IWatcherSetupUtil;
  75.       
  76.       private static const Adobe_patent_P763:String = "AdobePatentID=\"P763\"";
  77.       
  78.       mx_internal static var _RuntimeInstaller_StylesInit_done:Boolean = false;
  79.        
  80.       
  81.       private var _329533269errorText:TextArea;
  82.       
  83.       public var _RuntimeInstaller_SetProperty1:SetProperty;
  84.       
  85.       public var _RuntimeInstaller_SetProperty2:SetProperty;
  86.       
  87.       public var _RuntimeInstaller_SetProperty3:SetProperty;
  88.       
  89.       public var _RuntimeInstaller_SetProperty4:SetProperty;
  90.       
  91.       public var _RuntimeInstaller_SetProperty5:SetProperty;
  92.       
  93.       public var _RuntimeInstaller_SetProperty6:SetProperty;
  94.       
  95.       public var _RuntimeInstaller_SetProperty7:SetProperty;
  96.       
  97.       public var _RuntimeInstaller_SetProperty8:SetProperty;
  98.       
  99.       public var _RuntimeInstaller_SetProperty9:SetProperty;
  100.       
  101.       private var _embed_css_assets_buttons_Button_upSkin_png_1816313042:Class;
  102.       
  103.       private var _853798108updateAppsRunningCanvas:Canvas;
  104.       
  105.       private var _229542092greenCircleIcon:Class;
  106.       
  107.       mx_internal var _bindingsByDestination:Object;
  108.       
  109.       public var _RuntimeInstaller_SetStyle1:SetStyle;
  110.       
  111.       public var _RuntimeInstaller_SetStyle2:SetStyle;
  112.       
  113.       private var _713956140completeFinish:LocalizedButton;
  114.       
  115.       private var asyncCallTimer:Timer;
  116.       
  117.       private var _1992811297completeTextResourceName:String = "";
  118.       
  119.       private var _1318708836updateAppsRunning:TextArea;
  120.       
  121.       private var _embed__font_Myriad_Pro_medium_normal_1137517349:Class;
  122.       
  123.       private var _944448939updateSpacer:Spacer;
  124.       
  125.       private var _1197773823appIconBG:Class;
  126.       
  127.       private var _embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressBarSkin_138477529:Class;
  128.       
  129.       private var _embed_css_assets_buttons_Button_Default_downSkin_png_1979368144:Class;
  130.       
  131.       private var _5542018downArrowNative:Class;
  132.       
  133.       private var _934908847record:ObjectProxy;
  134.       
  135.       public var _RuntimeInstaller_Label1:Label;
  136.       
  137.       public var _RuntimeInstaller_Label2:Label;
  138.       
  139.       private var _1922221831progressCancel:LocalizedButton;
  140.       
  141.       private var _607735242patchSameClose:LocalizedButton;
  142.       
  143.       private var _1634233860uninstallCancel:LocalizedButton;
  144.       
  145.       private var _1458973673uninstallAppCanvas:Canvas;
  146.       
  147.       private const ERROR_ID_TO_NAME:Object = {
  148.          5008:"windowsInstallInProgress",
  149.          5009:"msiInstallRejected",
  150.          5024:"linuxDistroUnknown",
  151.          5025:"linuxKeyring",
  152.          5028:"linux32NotAllowedOn64Bit",
  153.          5029:"linuxMergeCertificateStore",
  154.          5030:"linuxInsufficientDiskSpaceAvailable",
  155.          5031:"linuxDpkgArNotFound",
  156.          5032:"linuxRPMBuildNotFound",
  157.          5033:"linuxAuthenticationToolsNotFound",
  158.          5034:"applicationsAdobeFile"
  159.       };
  160.       
  161.       public var _RuntimeInstaller_SetProperty10:SetProperty;
  162.       
  163.       public var _RuntimeInstaller_SetProperty11:SetProperty;
  164.       
  165.       public var _RuntimeInstaller_SetProperty12:SetProperty;
  166.       
  167.       public var _RuntimeInstaller_SetProperty13:SetProperty;
  168.       
  169.       public var _RuntimeInstaller_SetProperty14:SetProperty;
  170.       
  171.       public var _RuntimeInstaller_SetProperty15:SetProperty;
  172.       
  173.       public var _RuntimeInstaller_SetProperty16:SetProperty;
  174.       
  175.       public var _RuntimeInstaller_SetProperty17:SetProperty;
  176.       
  177.       public var _RuntimeInstaller_SetProperty18:SetProperty;
  178.       
  179.       public var _RuntimeInstaller_SetProperty19:SetProperty;
  180.       
  181.       private var _1230359918patchNow:LocalizedButton;
  182.       
  183.       private var _965310316completeLabelResourceName:String = "";
  184.       
  185.       private var _1869917749airPackageIcon:Class;
  186.       
  187.       public var _RuntimeInstaller_SetProperty20:SetProperty;
  188.       
  189.       private var _1273099399downArrow:Class;
  190.       
  191.       public var _RuntimeInstaller_RemoveChild1:RemoveChild;
  192.       
  193.       public var _RuntimeInstaller_RemoveChild2:RemoveChild;
  194.       
  195.       public var _RuntimeInstaller_RemoveChild3:RemoveChild;
  196.       
  197.       private var _139350644progressContent:VBox;
  198.       
  199.       private var _1707366196redBlockedIcon:Class;
  200.       
  201.       private var _1032081422patchNewerUpdate:LocalizedButton;
  202.       
  203.       private var _1172428532installedApps:Array;
  204.       
  205.       public var _RuntimeInstaller_AddChild10:AddChild;
  206.       
  207.       public var _RuntimeInstaller_AddChild11:AddChild;
  208.       
  209.       private var _1131509414progressBar:ProgressBar;
  210.       
  211.       private var _embed_mxml_assets_add_png_189231772:Class;
  212.       
  213.       private var _embed__font_Myriad_Pro_Bold_medium_normal_1722920897:Class;
  214.       
  215.       private var _1654957862redCircleIcon:Class;
  216.       
  217.       private var _264524434contentBox:VBox;
  218.       
  219.       private var _embed_css_assets_buttons_Button_overSkin_png_1211548296:Class;
  220.       
  221.       mx_internal var _bindingsBeginWithWord:Object;
  222.       
  223.       private var _503203263patchNewerCancel:LocalizedButton;
  224.       
  225.       private var sharedEvents:EventDispatcher;
  226.       
  227.       private var _embed_css_assets_buttons_Button_downSkin_png_1764482764:Class;
  228.       
  229.       private var _embed_css_assets_buttons_Button_Default_DisabledSkin_png_1697721172:Class;
  230.       
  231.       private var _763044039progressLabel:LocalizedLabel;
  232.       
  233.       public var _RuntimeInstaller_VBox3:VBox;
  234.       
  235.       public var _RuntimeInstaller_VBox4:VBox;
  236.       
  237.       public var _RuntimeInstaller_VBox5:VBox;
  238.       
  239.       public var _RuntimeInstaller_VBox6:VBox;
  240.       
  241.       public var _RuntimeInstaller_VBox7:VBox;
  242.       
  243.       private var _1501004228rightArrowNative:Class;
  244.       
  245.       public var _RuntimeInstaller_VBox9:VBox;
  246.       
  247.       private var _1112610870installedAppsList:List;
  248.       
  249.       private var _1257611044patchLater:LocalizedButton;
  250.       
  251.       private var _1748930644patchOlderClose:LocalizedButton;
  252.       
  253.       private var _embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressTrackSkin_748526063:Class;
  254.       
  255.       private var _287913606progressResourceName:String = "";
  256.       
  257.       private var _1415400627rightArrow:Class;
  258.       
  259.       private var _1610096848errorClose:LocalizedButton;
  260.       
  261.       private var _embed_css_assets_buttons_Button_Default_overSkin_png_257358164:Class;
  262.       
  263.       private var _embed_css_assets_buttons_Button_DisabledSkin_png_1526501160:Class;
  264.       
  265.       private var buttonKeyPressTimer:Timer;
  266.       
  267.       private var _992840477airIcon:Class;
  268.       
  269.       private var _1410965406iconImage:Image;
  270.       
  271.       private var _embed_css_assets_buttons_Button_Default_upSkin_png_929957838:Class;
  272.       
  273.       private var _embed_css__assets_scroll_thumb_png_1502202382:Class;
  274.       
  275.       private var _2143069232additionalVersionAdd:LocalizedButton;
  276.       
  277.       private var _3124773eula:EULA;
  278.       
  279.       private var _2057878774redSecurityIcon:Class;
  280.       
  281.       public var _RuntimeInstaller_LocalizedText2:LocalizedText;
  282.       
  283.       public var _RuntimeInstaller_LocalizedText8:LocalizedText;
  284.       
  285.       public var _RuntimeInstaller_AddChild1:AddChild;
  286.       
  287.       public var _RuntimeInstaller_AddChild2:AddChild;
  288.       
  289.       public var _RuntimeInstaller_AddChild3:AddChild;
  290.       
  291.       public var _RuntimeInstaller_AddChild4:AddChild;
  292.       
  293.       public var _RuntimeInstaller_AddChild5:AddChild;
  294.       
  295.       public var _RuntimeInstaller_AddChild6:AddChild;
  296.       
  297.       public var _RuntimeInstaller_AddChild7:AddChild;
  298.       
  299.       public var _RuntimeInstaller_AddChild8:AddChild;
  300.       
  301.       public var _RuntimeInstaller_AddChild9:AddChild;
  302.       
  303.       private var _463497974appIconNativeBG:Class;
  304.       
  305.       private var _1638746770iconBox:VBox;
  306.       
  307.       mx_internal var _watchers:Array;
  308.       
  309.       public var _RuntimeInstaller_VBox10:VBox;
  310.       
  311.       public var _RuntimeInstaller_VBox11:VBox;
  312.       
  313.       public var _RuntimeInstaller_LocalizedLabel9:LocalizedLabel;
  314.       
  315.       private var _295934570updateText:LocalizedText;
  316.       
  317.       private var _703057299yellowSecurityIcon:Class;
  318.       
  319.       private var _458480501additionalVersionCancel:LocalizedButton;
  320.       
  321.       mx_internal var _bindings:Array;
  322.       
  323.       private var _documentDescriptor_:UIComponentDescriptor;
  324.       
  325.       public function RuntimeInstaller()
  326.       {
  327.          this._documentDescriptor_ = new UIComponentDescriptor({
  328.             "type":InstallerApplication,
  329.             "propertiesFactory":function():Object
  330.             {
  331.                return {"childDescriptors":[new UIComponentDescriptor({
  332.                   "type":VBox,
  333.                   "id":"iconBox",
  334.                   "events":{"creationComplete":"__iconBox_creationComplete"},
  335.                   "propertiesFactory":function():Object
  336.                   {
  337.                      return {"childDescriptors":[new UIComponentDescriptor({
  338.                         "type":Image,
  339.                         "id":"iconImage",
  340.                         "propertiesFactory":function():Object
  341.                         {
  342.                            return {
  343.                               "width":83,
  344.                               "height":81
  345.                            };
  346.                         }
  347.                      })]};
  348.                   }
  349.                }),new UIComponentDescriptor({
  350.                   "type":VBox,
  351.                   "id":"contentBox",
  352.                   "propertiesFactory":function():Object
  353.                   {
  354.                      return {
  355.                         "styleName":"topContentBox",
  356.                         "percentWidth":100,
  357.                         "percentHeight":100,
  358.                         "childDescriptors":[new UIComponentDescriptor({
  359.                            "type":LocalizedText,
  360.                            "propertiesFactory":function():Object
  361.                            {
  362.                               return {
  363.                                  "percentWidth":100,
  364.                                  "styleName":"h1",
  365.                                  "condenseWhite":true,
  366.                                  "resourceName":"titleMainTitle"
  367.                               };
  368.                            }
  369.                         })]
  370.                      };
  371.                   }
  372.                })]};
  373.             }
  374.          });
  375.          this._992840477airIcon = RuntimeInstaller_airIcon;
  376.          this._1869917749airPackageIcon = RuntimeInstaller_airPackageIcon;
  377.          this._703057299yellowSecurityIcon = RuntimeInstaller_yellowSecurityIcon;
  378.          this._2057878774redSecurityIcon = RuntimeInstaller_redSecurityIcon;
  379.          this._1707366196redBlockedIcon = RuntimeInstaller_redBlockedIcon;
  380.          this._1654957862redCircleIcon = RuntimeInstaller_redCircleIcon;
  381.          this._229542092greenCircleIcon = RuntimeInstaller_greenCircleIcon;
  382.          this._1197773823appIconBG = RuntimeInstaller_appIconBG;
  383.          this._463497974appIconNativeBG = RuntimeInstaller_appIconNativeBG;
  384.          this._1273099399downArrow = RuntimeInstaller_downArrow;
  385.          this._1415400627rightArrow = RuntimeInstaller_rightArrow;
  386.          this._5542018downArrowNative = RuntimeInstaller_downArrowNative;
  387.          this._1501004228rightArrowNative = RuntimeInstaller_rightArrowNative;
  388.          this._1172428532installedApps = [];
  389.          this._embed__font_Myriad_Pro_Bold_medium_normal_1722920897 = RuntimeInstaller__embed__font_Myriad_Pro_Bold_medium_normal_1722920897;
  390.          this._embed__font_Myriad_Pro_medium_normal_1137517349 = RuntimeInstaller__embed__font_Myriad_Pro_medium_normal_1137517349;
  391.          this._embed_css__assets_scroll_thumb_png_1502202382 = RuntimeInstaller__embed_css__assets_scroll_thumb_png_1502202382;
  392.          this._embed_css_assets_buttons_Button_Default_DisabledSkin_png_1697721172 = RuntimeInstaller__embed_css_assets_buttons_Button_Default_DisabledSkin_png_1697721172;
  393.          this._embed_css_assets_buttons_Button_Default_downSkin_png_1979368144 = RuntimeInstaller__embed_css_assets_buttons_Button_Default_downSkin_png_1979368144;
  394.          this._embed_css_assets_buttons_Button_Default_overSkin_png_257358164 = RuntimeInstaller__embed_css_assets_buttons_Button_Default_overSkin_png_257358164;
  395.          this._embed_css_assets_buttons_Button_Default_upSkin_png_929957838 = RuntimeInstaller__embed_css_assets_buttons_Button_Default_upSkin_png_929957838;
  396.          this._embed_css_assets_buttons_Button_DisabledSkin_png_1526501160 = RuntimeInstaller__embed_css_assets_buttons_Button_DisabledSkin_png_1526501160;
  397.          this._embed_css_assets_buttons_Button_downSkin_png_1764482764 = RuntimeInstaller__embed_css_assets_buttons_Button_downSkin_png_1764482764;
  398.          this._embed_css_assets_buttons_Button_overSkin_png_1211548296 = RuntimeInstaller__embed_css_assets_buttons_Button_overSkin_png_1211548296;
  399.          this._embed_css_assets_buttons_Button_upSkin_png_1816313042 = RuntimeInstaller__embed_css_assets_buttons_Button_upSkin_png_1816313042;
  400.          this._embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressBarSkin_138477529 = RuntimeInstaller__embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressBarSkin_138477529;
  401.          this._embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressTrackSkin_748526063 = RuntimeInstaller__embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressTrackSkin_748526063;
  402.          this._embed_mxml_assets_add_png_189231772 = RuntimeInstaller__embed_mxml_assets_add_png_189231772;
  403.          this._bindings = [];
  404.          this._watchers = [];
  405.          this._bindingsByDestination = {};
  406.          this._bindingsBeginWithWord = {};
  407.          super();
  408.          mx_internal::_document = this;
  409.          mx_internal::_RuntimeInstaller_StylesInit();
  410.          this.horizontalScrollPolicy = "off";
  411.          this.verticalScrollPolicy = "off";
  412.          this.percentWidth = 100;
  413.          this.percentHeight = 100;
  414.          this.layout = "horizontal";
  415.          this.states = [this._RuntimeInstaller_State1_c(),this._RuntimeInstaller_State2_c(),this._RuntimeInstaller_State3_c(),this._RuntimeInstaller_State4_c(),this._RuntimeInstaller_State5_c(),this._RuntimeInstaller_State6_c(),this._RuntimeInstaller_State7_c(),this._RuntimeInstaller_State8_c(),this._RuntimeInstaller_State9_c(),this._RuntimeInstaller_State10_c(),this._RuntimeInstaller_State11_c(),this._RuntimeInstaller_State12_c(),this._RuntimeInstaller_State13_c(),this._RuntimeInstaller_State14_c()];
  416.          this.addEventListener("preinitialize",this.___RuntimeInstaller_InstallerApplication1_preinitialize);
  417.          this.addEventListener("applicationComplete",this.___RuntimeInstaller_InstallerApplication1_applicationComplete);
  418.       }
  419.       
  420.       public static function set watcherSetupUtil(param1:IWatcherSetupUtil) : void
  421.       {
  422.          RuntimeInstaller._watcherSetupUtil = param1;
  423.       }
  424.       
  425.       public function ___RuntimeInstaller_State3_enterState(param1:FlexEvent) : void
  426.       {
  427.          focusManager.setFocus(this.additionalVersionAdd);
  428.       }
  429.       
  430.       [Bindable(event="propertyChange")]
  431.       public function get uninstallAppCanvas() : Canvas
  432.       {
  433.          return this._1458973673uninstallAppCanvas;
  434.       }
  435.       
  436.       [Bindable(event="propertyChange")]
  437.       public function get patchNewerUpdate() : LocalizedButton
  438.       {
  439.          return this._1032081422patchNewerUpdate;
  440.       }
  441.       
  442.       public function ___RuntimeInstaller_State6_enterState(param1:FlexEvent) : void
  443.       {
  444.          focusManager.setFocus(this.patchOlderClose);
  445.       }
  446.       
  447.       private function _RuntimeInstaller_LocalizedText4_c() : LocalizedText
  448.       {
  449.          var _loc1_:LocalizedText = new LocalizedText();
  450.          _loc1_.percentWidth = 100;
  451.          _loc1_.condenseWhite = true;
  452.          _loc1_.resourceName = "errVersionAlreadyInstalled";
  453.          if(!_loc1_.document)
  454.          {
  455.             _loc1_.document = this;
  456.          }
  457.          return _loc1_;
  458.       }
  459.       
  460.       public function __eula_creationComplete(param1:FlexEvent) : void
  461.       {
  462.          activate();
  463.       }
  464.       
  465.       public function set uninstallAppCanvas(param1:Canvas) : void
  466.       {
  467.          var _loc2_:Object = null;
  468.          _loc2_ = this._1458973673uninstallAppCanvas;
  469.          if(_loc2_ !== param1)
  470.          {
  471.             this._1458973673uninstallAppCanvas = param1;
  472.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"uninstallAppCanvas",_loc2_,param1));
  473.          }
  474.       }
  475.       
  476.       private function _RuntimeInstaller_AddChild7_i() : AddChild
  477.       {
  478.          var _loc1_:AddChild = new AddChild();
  479.          this._RuntimeInstaller_AddChild7 = _loc1_;
  480.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox8_i);
  481.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild7",this._RuntimeInstaller_AddChild7);
  482.          return _loc1_;
  483.       }
  484.       
  485.       [Bindable(event="propertyChange")]
  486.       public function get additionalVersionAdd() : LocalizedButton
  487.       {
  488.          return this._2143069232additionalVersionAdd;
  489.       }
  490.       
  491.       private function _RuntimeInstaller_SetProperty6_i() : SetProperty
  492.       {
  493.          var _loc1_:SetProperty = new SetProperty();
  494.          this._RuntimeInstaller_SetProperty6 = _loc1_;
  495.          _loc1_.name = "stageHeight";
  496.          _loc1_.value = 240;
  497.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty6",this._RuntimeInstaller_SetProperty6);
  498.          return _loc1_;
  499.       }
  500.       
  501.       private function _RuntimeInstaller_Spacer4_c() : Spacer
  502.       {
  503.          var _loc1_:Spacer = new Spacer();
  504.          _loc1_.percentHeight = 100;
  505.          if(!_loc1_.document)
  506.          {
  507.             _loc1_.document = this;
  508.          }
  509.          return _loc1_;
  510.       }
  511.       
  512.       private function _RuntimeInstaller_LocalizedLabel7_c() : LocalizedLabel
  513.       {
  514.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  515.          _loc1_.styleName = "h2";
  516.          _loc1_.resourceName = "titleUninstall";
  517.          if(!_loc1_.document)
  518.          {
  519.             _loc1_.document = this;
  520.          }
  521.          return _loc1_;
  522.       }
  523.       
  524.       private function _RuntimeInstaller_Canvas1_i() : Canvas
  525.       {
  526.          var _loc1_:Canvas = new Canvas();
  527.          this.uninstallAppCanvas = _loc1_;
  528.          _loc1_.styleName = "textBorderWrapper";
  529.          _loc1_.percentWidth = 100;
  530.          _loc1_.id = "uninstallAppCanvas";
  531.          if(!_loc1_.document)
  532.          {
  533.             _loc1_.document = this;
  534.          }
  535.          _loc1_.addChild(this._RuntimeInstaller_List1_i());
  536.          return _loc1_;
  537.       }
  538.       
  539.       private function _RuntimeInstaller_Spacer16_c() : Spacer
  540.       {
  541.          var _loc1_:Spacer = new Spacer();
  542.          _loc1_.height = 10;
  543.          if(!_loc1_.document)
  544.          {
  545.             _loc1_.document = this;
  546.          }
  547.          return _loc1_;
  548.       }
  549.       
  550.       private function _RuntimeInstaller_SetProperty20_i() : SetProperty
  551.       {
  552.          var _loc1_:SetProperty = new SetProperty();
  553.          this._RuntimeInstaller_SetProperty20 = _loc1_;
  554.          _loc1_.name = "stageHeight";
  555.          _loc1_.value = 210;
  556.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty20",this._RuntimeInstaller_SetProperty20);
  557.          return _loc1_;
  558.       }
  559.       
  560.       public function set patchNewerUpdate(param1:LocalizedButton) : void
  561.       {
  562.          var _loc2_:Object = null;
  563.          _loc2_ = this._1032081422patchNewerUpdate;
  564.          if(_loc2_ !== param1)
  565.          {
  566.             this._1032081422patchNewerUpdate = param1;
  567.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchNewerUpdate",_loc2_,param1));
  568.          }
  569.       }
  570.       
  571.       private function _RuntimeInstaller_OSButtonBarHBox5_c() : OSButtonBarHBox
  572.       {
  573.          var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
  574.          _loc1_.styleName = "buttonRow";
  575.          _loc1_.percentWidth = 100;
  576.          if(!_loc1_.document)
  577.          {
  578.             _loc1_.document = this;
  579.          }
  580.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton7_c());
  581.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton8_i());
  582.          return _loc1_;
  583.       }
  584.       
  585.       public function set eula(param1:EULA) : void
  586.       {
  587.          var _loc2_:Object = null;
  588.          _loc2_ = this._3124773eula;
  589.          if(_loc2_ !== param1)
  590.          {
  591.             this._3124773eula = param1;
  592.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"eula",_loc2_,param1));
  593.          }
  594.       }
  595.       
  596.       public function ___RuntimeInstaller_State11_enterState(param1:FlexEvent) : void
  597.       {
  598.          focusManager.setFocus(this.completeFinish);
  599.       }
  600.       
  601.       [Bindable(event="propertyChange")]
  602.       private function get record() : ObjectProxy
  603.       {
  604.          return this._934908847record;
  605.       }
  606.       
  607.       private function _RuntimeInstaller_Spacer3_c() : Spacer
  608.       {
  609.          var _loc1_:Spacer = new Spacer();
  610.          _loc1_.percentHeight = 100;
  611.          if(!_loc1_.document)
  612.          {
  613.             _loc1_.document = this;
  614.          }
  615.          return _loc1_;
  616.       }
  617.       
  618.       private function _RuntimeInstaller_LocalizedText3_c() : LocalizedText
  619.       {
  620.          var _loc1_:LocalizedText = new LocalizedText();
  621.          _loc1_.percentWidth = 100;
  622.          _loc1_.condenseWhite = true;
  623.          _loc1_.resourceName = "msgConfirmUpdate";
  624.          _loc1_.useHTML = true;
  625.          if(!_loc1_.document)
  626.          {
  627.             _loc1_.document = this;
  628.          }
  629.          return _loc1_;
  630.       }
  631.       
  632.       public function set additionalVersionAdd(param1:LocalizedButton) : void
  633.       {
  634.          var _loc2_:Object = null;
  635.          _loc2_ = this._2143069232additionalVersionAdd;
  636.          if(_loc2_ !== param1)
  637.          {
  638.             this._2143069232additionalVersionAdd = param1;
  639.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"additionalVersionAdd",_loc2_,param1));
  640.          }
  641.       }
  642.       
  643.       [Bindable(event="propertyChange")]
  644.       public function get iconImage() : Image
  645.       {
  646.          return this._1410965406iconImage;
  647.       }
  648.       
  649.       private function _RuntimeInstaller_EULA1_i() : EULA
  650.       {
  651.          var _loc1_:EULA = new EULA();
  652.          this.eula = _loc1_;
  653.          _loc1_.percentWidth = 100;
  654.          _loc1_.percentHeight = 100;
  655.          _loc1_.addEventListener("agree",this.__eula_agree);
  656.          _loc1_.addEventListener("cancel",this.__eula_cancel);
  657.          _loc1_.addEventListener("creationComplete",this.__eula_creationComplete);
  658.          _loc1_.id = "eula";
  659.          BindingManager.executeBindings(this,"eula",this.eula);
  660.          if(!_loc1_.document)
  661.          {
  662.             _loc1_.document = this;
  663.          }
  664.          return _loc1_;
  665.       }
  666.       
  667.       private function _RuntimeInstaller_OSButtonBarHBox4_c() : OSButtonBarHBox
  668.       {
  669.          var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
  670.          _loc1_.styleName = "buttonRow";
  671.          _loc1_.percentWidth = 100;
  672.          if(!_loc1_.document)
  673.          {
  674.             _loc1_.document = this;
  675.          }
  676.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton6_i());
  677.          return _loc1_;
  678.       }
  679.       
  680.       private function set airPackageIcon(param1:Class) : void
  681.       {
  682.          var _loc2_:Object = null;
  683.          _loc2_ = this._1869917749airPackageIcon;
  684.          if(_loc2_ !== param1)
  685.          {
  686.             this._1869917749airPackageIcon = param1;
  687.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airPackageIcon",_loc2_,param1));
  688.          }
  689.       }
  690.       
  691.       private function onPatchNow() : void
  692.       {
  693.          this.sharedEvents.dispatchEvent(new Event("installui.patchNow"));
  694.       }
  695.       
  696.       private function _RuntimeInstaller_LocalizedLabel6_c() : LocalizedLabel
  697.       {
  698.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  699.          _loc1_.styleName = "h2";
  700.          _loc1_.resourceName = "titleAlreadyInstalled";
  701.          if(!_loc1_.document)
  702.          {
  703.             _loc1_.document = this;
  704.          }
  705.          return _loc1_;
  706.       }
  707.       
  708.       private function _RuntimeInstaller_AddChild6_i() : AddChild
  709.       {
  710.          var _loc1_:AddChild = new AddChild();
  711.          this._RuntimeInstaller_AddChild6 = _loc1_;
  712.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox7_i);
  713.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild6",this._RuntimeInstaller_AddChild6);
  714.          return _loc1_;
  715.       }
  716.       
  717.       private function _RuntimeInstaller_SetProperty5_i() : SetProperty
  718.       {
  719.          var _loc1_:SetProperty = new SetProperty();
  720.          this._RuntimeInstaller_SetProperty5 = _loc1_;
  721.          _loc1_.name = "stageHeight";
  722.          _loc1_.value = 240;
  723.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty5",this._RuntimeInstaller_SetProperty5);
  724.          return _loc1_;
  725.       }
  726.       
  727.       public function ___RuntimeInstaller_State14_enterState(param1:FlexEvent) : void
  728.       {
  729.          focusManager.setFocus(this.errorClose);
  730.       }
  731.       
  732.       [Bindable(event="propertyChange")]
  733.       private function get downArrow() : Class
  734.       {
  735.          return this._1273099399downArrow;
  736.       }
  737.       
  738.       private function _RuntimeInstaller_Spacer15_c() : Spacer
  739.       {
  740.          var _loc1_:Spacer = new Spacer();
  741.          _loc1_.height = 10;
  742.          if(!_loc1_.document)
  743.          {
  744.             _loc1_.document = this;
  745.          }
  746.          return _loc1_;
  747.       }
  748.       
  749.       public function __patchLater_click(param1:MouseEvent) : void
  750.       {
  751.          this.onPatchLater();
  752.       }
  753.       
  754.       [Bindable(event="propertyChange")]
  755.       public function get additionalVersionCancel() : LocalizedButton
  756.       {
  757.          return this._458480501additionalVersionCancel;
  758.       }
  759.       
  760.       public function ___RuntimeInstaller_VBox10_creationComplete(param1:FlexEvent) : void
  761.       {
  762.          activate();
  763.       }
  764.       
  765.       public function __additionalVersionAdd_click(param1:MouseEvent) : void
  766.       {
  767.          this.onConfirm();
  768.       }
  769.       
  770.       private function _RuntimeInstaller_Spacer2_c() : Spacer
  771.       {
  772.          var _loc1_:Spacer = new Spacer();
  773.          _loc1_.height = 14;
  774.          if(!_loc1_.document)
  775.          {
  776.             _loc1_.document = this;
  777.          }
  778.          return _loc1_;
  779.       }
  780.       
  781.       [Bindable(event="propertyChange")]
  782.       public function get completeLabelResourceName() : String
  783.       {
  784.          return this._965310316completeLabelResourceName;
  785.       }
  786.       
  787.       protected function hideFromAccessibility(param1:DisplayObject) : void
  788.       {
  789.          param1.accessibilityProperties = this.hiddenAccessibility();
  790.       }
  791.       
  792.       private function _RuntimeInstaller_OSButtonBarHBox3_c() : OSButtonBarHBox
  793.       {
  794.          var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
  795.          _loc1_.styleName = "buttonRow";
  796.          _loc1_.percentWidth = 100;
  797.          if(!_loc1_.document)
  798.          {
  799.             _loc1_.document = this;
  800.          }
  801.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton5_i());
  802.          return _loc1_;
  803.       }
  804.       
  805.       private function set record(param1:ObjectProxy) : void
  806.       {
  807.          var _loc2_:Object = null;
  808.          _loc2_ = this._934908847record;
  809.          if(_loc2_ !== param1)
  810.          {
  811.             this._934908847record = param1;
  812.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"record",_loc2_,param1));
  813.          }
  814.       }
  815.       
  816.       public function set updateSpacer(param1:Spacer) : void
  817.       {
  818.          var _loc2_:Object = null;
  819.          _loc2_ = this._944448939updateSpacer;
  820.          if(_loc2_ !== param1)
  821.          {
  822.             this._944448939updateSpacer = param1;
  823.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateSpacer",_loc2_,param1));
  824.          }
  825.       }
  826.       
  827.       private function _RuntimeInstaller_LocalizedText2_i() : LocalizedText
  828.       {
  829.          var _loc1_:LocalizedText = new LocalizedText();
  830.          this._RuntimeInstaller_LocalizedText2 = _loc1_;
  831.          _loc1_.percentWidth = 100;
  832.          _loc1_.condenseWhite = true;
  833.          _loc1_.resourceName = "msgClickToContinue";
  834.          _loc1_.id = "_RuntimeInstaller_LocalizedText2";
  835.          BindingManager.executeBindings(this,"_RuntimeInstaller_LocalizedText2",this._RuntimeInstaller_LocalizedText2);
  836.          if(!_loc1_.document)
  837.          {
  838.             _loc1_.document = this;
  839.          }
  840.          return _loc1_;
  841.       }
  842.       
  843.       private function _RuntimeInstaller_LocalizedLabel5_c() : LocalizedLabel
  844.       {
  845.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  846.          _loc1_.styleName = "h2";
  847.          _loc1_.resourceName = "titleAlreadyInstalled";
  848.          if(!_loc1_.document)
  849.          {
  850.             _loc1_.document = this;
  851.          }
  852.          return _loc1_;
  853.       }
  854.       
  855.       private function _RuntimeInstaller_AddChild5_i() : AddChild
  856.       {
  857.          var _loc1_:AddChild = new AddChild();
  858.          this._RuntimeInstaller_AddChild5 = _loc1_;
  859.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox6_i);
  860.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild5",this._RuntimeInstaller_AddChild5);
  861.          return _loc1_;
  862.       }
  863.       
  864.       private function _RuntimeInstaller_SetProperty4_i() : SetProperty
  865.       {
  866.          var _loc1_:SetProperty = new SetProperty();
  867.          this._RuntimeInstaller_SetProperty4 = _loc1_;
  868.          _loc1_.name = "cancelLabel";
  869.          _loc1_.value = "btnQuit";
  870.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty4",this._RuntimeInstaller_SetProperty4);
  871.          return _loc1_;
  872.       }
  873.       
  874.       private function onKeyDown(param1:KeyboardEvent) : void
  875.       {
  876.          var cb:Button = null;
  877.          var event:KeyboardEvent = param1;
  878.          if(event.keyCode == Keyboard.ESCAPE)
  879.          {
  880.             event.preventDefault();
  881.             stage.nativeWindow.close();
  882.          }
  883.          else if(Capabilities.os.indexOf("Mac") != -1 && event.commandKey && event.keyCode == Keyboard.PERIOD)
  884.          {
  885.             event.preventDefault();
  886.             cb = null;
  887.             switch(currentState)
  888.             {
  889.                case "EULA":
  890.                case "FirstLaunchEULA":
  891.                   cb = this.eula.cancelButton;
  892.                   break;
  893.                case "AdditionalVersion":
  894.                   cb = this.additionalVersionCancel;
  895.                   break;
  896.                case "PatchNewer":
  897.                   cb = this.patchNewerCancel;
  898.                   break;
  899.                case "UninstallNoApps":
  900.                case "Uninstall":
  901.                   cb = this.uninstallCancel;
  902.                   break;
  903.                case "Progress":
  904.                   cb = this.progressCancel;
  905.             }
  906.             if(cb != null)
  907.             {
  908.                event.preventDefault();
  909.                cb.setFocus();
  910.                cb.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_DOWN,false,false,Keyboard.SPACE,Keyboard.SPACE));
  911.                this.buttonKeyPressTimer = new Timer(100,1);
  912.                this.buttonKeyPressTimer.addEventListener(TimerEvent.TIMER_COMPLETE,function(param1:TimerEvent):void
  913.                {
  914.                   cb.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_UP,false,false,Keyboard.SPACE,Keyboard.SPACE));
  915.                });
  916.                this.buttonKeyPressTimer.start();
  917.             }
  918.          }
  919.       }
  920.       
  921.       private function _RuntimeInstaller_Spacer14_c() : Spacer
  922.       {
  923.          var _loc1_:Spacer = new Spacer();
  924.          _loc1_.percentHeight = 100;
  925.          if(!_loc1_.document)
  926.          {
  927.             _loc1_.document = this;
  928.          }
  929.          return _loc1_;
  930.       }
  931.       
  932.       private function _RuntimeInstaller_ProgressBar1_i() : ProgressBar
  933.       {
  934.          var _loc1_:ProgressBar = new ProgressBar();
  935.          this.progressBar = _loc1_;
  936.          _loc1_.percentWidth = 90;
  937.          _loc1_.label = "";
  938.          _loc1_.mode = "manual";
  939.          _loc1_.addEventListener("creationComplete",this.__progressBar_creationComplete);
  940.          _loc1_.id = "progressBar";
  941.          if(!_loc1_.document)
  942.          {
  943.             _loc1_.document = this;
  944.          }
  945.          return _loc1_;
  946.       }
  947.       
  948.       [Bindable(event="propertyChange")]
  949.       public function get progressLabel() : LocalizedLabel
  950.       {
  951.          return this._763044039progressLabel;
  952.       }
  953.       
  954.       public function set updateAppsRunning(param1:TextArea) : void
  955.       {
  956.          var _loc2_:Object = null;
  957.          _loc2_ = this._1318708836updateAppsRunning;
  958.          if(_loc2_ !== param1)
  959.          {
  960.             this._1318708836updateAppsRunning = param1;
  961.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateAppsRunning",_loc2_,param1));
  962.          }
  963.       }
  964.       
  965.       public function set iconImage(param1:Image) : void
  966.       {
  967.          var _loc2_:Object = null;
  968.          _loc2_ = this._1410965406iconImage;
  969.          if(_loc2_ !== param1)
  970.          {
  971.             this._1410965406iconImage = param1;
  972.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"iconImage",_loc2_,param1));
  973.          }
  974.       }
  975.       
  976.       [Bindable(event="propertyChange")]
  977.       private function get greenCircleIcon() : Class
  978.       {
  979.          return this._229542092greenCircleIcon;
  980.       }
  981.       
  982.       [Bindable(event="propertyChange")]
  983.       public function get errorClose() : LocalizedButton
  984.       {
  985.          return this._1610096848errorClose;
  986.       }
  987.       
  988.       protected function giveAccessibleName(param1:DisplayObject, param2:String, param3:String = null) : void
  989.       {
  990.          param1.accessibilityProperties = this.accessibleName(param2,param3);
  991.       }
  992.       
  993.       private function _RuntimeInstaller_Spacer1_c() : Spacer
  994.       {
  995.          var _loc1_:Spacer = new Spacer();
  996.          _loc1_.percentHeight = 100;
  997.          if(!_loc1_.document)
  998.          {
  999.             _loc1_.document = this;
  1000.          }
  1001.          return _loc1_;
  1002.       }
  1003.       
  1004.       private function set yellowSecurityIcon(param1:Class) : void
  1005.       {
  1006.          var _loc2_:Object = null;
  1007.          _loc2_ = this._703057299yellowSecurityIcon;
  1008.          if(_loc2_ !== param1)
  1009.          {
  1010.             this._703057299yellowSecurityIcon = param1;
  1011.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"yellowSecurityIcon",_loc2_,param1));
  1012.          }
  1013.       }
  1014.       
  1015.       [Bindable(event="propertyChange")]
  1016.       public function get updateAppsRunningCanvas() : Canvas
  1017.       {
  1018.          return this._853798108updateAppsRunningCanvas;
  1019.       }
  1020.       
  1021.       [Bindable(event="propertyChange")]
  1022.       public function get completeTextResourceName() : String
  1023.       {
  1024.          return this._1992811297completeTextResourceName;
  1025.       }
  1026.       
  1027.       [Bindable(event="propertyChange")]
  1028.       private function get redCircleIcon() : Class
  1029.       {
  1030.          return this._1654957862redCircleIcon;
  1031.       }
  1032.       
  1033.       [Bindable(event="propertyChange")]
  1034.       private function get airIcon() : Class
  1035.       {
  1036.          return this._992840477airIcon;
  1037.       }
  1038.       
  1039.       private function _RuntimeInstaller_OSButtonBarHBox2_c() : OSButtonBarHBox
  1040.       {
  1041.          var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
  1042.          _loc1_.percentWidth = 100;
  1043.          _loc1_.styleName = "buttonRow";
  1044.          if(!_loc1_.document)
  1045.          {
  1046.             _loc1_.document = this;
  1047.          }
  1048.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton3_i());
  1049.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton4_i());
  1050.          return _loc1_;
  1051.       }
  1052.       
  1053.       public function __installedAppsList_creationComplete(param1:FlexEvent) : void
  1054.       {
  1055.          this.installedAppsList.accessibilityImplementation = new AppListAccessibility(this.installedAppsList);
  1056.       }
  1057.       
  1058.       private function _RuntimeInstaller_LocalizedLabel4_c() : LocalizedLabel
  1059.       {
  1060.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  1061.          _loc1_.resourceName = "lblUpdate";
  1062.          _loc1_.percentWidth = 100;
  1063.          _loc1_.setStyle("textAlign","right");
  1064.          if(!_loc1_.document)
  1065.          {
  1066.             _loc1_.document = this;
  1067.          }
  1068.          return _loc1_;
  1069.       }
  1070.       
  1071.       protected function initProgressAccessibility(param1:ProgressBar) : void
  1072.       {
  1073.          param1.accessibilityProperties = new AccessibilityProperties();
  1074.          this.updateProgressAccessibility(param1);
  1075.       }
  1076.       
  1077.       private function _RuntimeInstaller_AddChild4_i() : AddChild
  1078.       {
  1079.          var _loc1_:AddChild = new AddChild();
  1080.          this._RuntimeInstaller_AddChild4 = _loc1_;
  1081.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox5_i);
  1082.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild4",this._RuntimeInstaller_AddChild4);
  1083.          return _loc1_;
  1084.       }
  1085.       
  1086.       public function __additionalVersionCancel_click(param1:MouseEvent) : void
  1087.       {
  1088.          this.onCancel();
  1089.       }
  1090.       
  1091.       private function _RuntimeInstaller_SetProperty3_i() : SetProperty
  1092.       {
  1093.          var _loc1_:SetProperty = new SetProperty();
  1094.          this._RuntimeInstaller_SetProperty3 = _loc1_;
  1095.          _loc1_.name = "description";
  1096.          _loc1_.value = "lblEulaNote";
  1097.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty3",this._RuntimeInstaller_SetProperty3);
  1098.          return _loc1_;
  1099.       }
  1100.       
  1101.       private function _RuntimeInstaller_State9_c() : State
  1102.       {
  1103.          var _loc1_:State = new State();
  1104.          _loc1_.name = "Progress";
  1105.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty11_i(),this._RuntimeInstaller_AddChild7_i()];
  1106.          return _loc1_;
  1107.       }
  1108.       
  1109.       private function _RuntimeInstaller_VBox9_i() : VBox
  1110.       {
  1111.          var _loc1_:VBox = new VBox();
  1112.          this._RuntimeInstaller_VBox9 = _loc1_;
  1113.          _loc1_.styleName = "contentBox";
  1114.          _loc1_.percentWidth = 100;
  1115.          _loc1_.percentHeight = 100;
  1116.          _loc1_.id = "_RuntimeInstaller_VBox9";
  1117.          BindingManager.executeBindings(this,"_RuntimeInstaller_VBox9",this._RuntimeInstaller_VBox9);
  1118.          if(!_loc1_.document)
  1119.          {
  1120.             _loc1_.document = this;
  1121.          }
  1122.          _loc1_.addChild(this._RuntimeInstaller_LocalizedLabel9_i());
  1123.          _loc1_.addChild(this._RuntimeInstaller_LocalizedText8_i());
  1124.          _loc1_.addChild(this._RuntimeInstaller_Spacer11_c());
  1125.          _loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox7_c());
  1126.          return _loc1_;
  1127.       }
  1128.       
  1129.       private function _RuntimeInstaller_Spacer13_i() : Spacer
  1130.       {
  1131.          var _loc1_:Spacer = new Spacer();
  1132.          this.updateSpacer = _loc1_;
  1133.          _loc1_.height = 10;
  1134.          _loc1_.id = "updateSpacer";
  1135.          if(!_loc1_.document)
  1136.          {
  1137.             _loc1_.document = this;
  1138.          }
  1139.          return _loc1_;
  1140.       }
  1141.       
  1142.       public function set progressResourceName(param1:String) : void
  1143.       {
  1144.          var _loc2_:Object = null;
  1145.          _loc2_ = this._287913606progressResourceName;
  1146.          if(_loc2_ !== param1)
  1147.          {
  1148.             this._287913606progressResourceName = param1;
  1149.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressResourceName",_loc2_,param1));
  1150.          }
  1151.       }
  1152.       
  1153.       private function set downArrow(param1:Class) : void
  1154.       {
  1155.          var _loc2_:Object = null;
  1156.          _loc2_ = this._1273099399downArrow;
  1157.          if(_loc2_ !== param1)
  1158.          {
  1159.             this._1273099399downArrow = param1;
  1160.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"downArrow",_loc2_,param1));
  1161.          }
  1162.       }
  1163.       
  1164.       public function set additionalVersionCancel(param1:LocalizedButton) : void
  1165.       {
  1166.          var _loc2_:Object = null;
  1167.          _loc2_ = this._458480501additionalVersionCancel;
  1168.          if(_loc2_ !== param1)
  1169.          {
  1170.             this._458480501additionalVersionCancel = param1;
  1171.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"additionalVersionCancel",_loc2_,param1));
  1172.          }
  1173.       }
  1174.       
  1175.       [Bindable(event="propertyChange")]
  1176.       private function get installedApps() : Array
  1177.       {
  1178.          return this._1172428532installedApps;
  1179.       }
  1180.       
  1181.       public function set contentBox(param1:VBox) : void
  1182.       {
  1183.          var _loc2_:Object = null;
  1184.          _loc2_ = this._264524434contentBox;
  1185.          if(_loc2_ !== param1)
  1186.          {
  1187.             this._264524434contentBox = param1;
  1188.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"contentBox",_loc2_,param1));
  1189.          }
  1190.       }
  1191.       
  1192.       private function _RuntimeInstaller_OSButtonBarHBox1_c() : OSButtonBarHBox
  1193.       {
  1194.          var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
  1195.          _loc1_.percentWidth = 100;
  1196.          _loc1_.styleName = "buttonRow";
  1197.          if(!_loc1_.document)
  1198.          {
  1199.             _loc1_.document = this;
  1200.          }
  1201.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton1_i());
  1202.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton2_i());
  1203.          return _loc1_;
  1204.       }
  1205.       
  1206.       public function set completeLabelResourceName(param1:String) : void
  1207.       {
  1208.          var _loc2_:Object = null;
  1209.          _loc2_ = this._965310316completeLabelResourceName;
  1210.          if(_loc2_ !== param1)
  1211.          {
  1212.             this._965310316completeLabelResourceName = param1;
  1213.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"completeLabelResourceName",_loc2_,param1));
  1214.          }
  1215.       }
  1216.       
  1217.       public function set iconBox(param1:VBox) : void
  1218.       {
  1219.          var _loc2_:Object = null;
  1220.          _loc2_ = this._1638746770iconBox;
  1221.          if(_loc2_ !== param1)
  1222.          {
  1223.             this._1638746770iconBox = param1;
  1224.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"iconBox",_loc2_,param1));
  1225.          }
  1226.       }
  1227.       
  1228.       private function _RuntimeInstaller_LocalizedLabel3_c() : LocalizedLabel
  1229.       {
  1230.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  1231.          _loc1_.resourceName = "lblInstalled";
  1232.          _loc1_.percentWidth = 100;
  1233.          _loc1_.setStyle("textAlign","right");
  1234.          if(!_loc1_.document)
  1235.          {
  1236.             _loc1_.document = this;
  1237.          }
  1238.          return _loc1_;
  1239.       }
  1240.       
  1241.       private function _RuntimeInstaller_AddChild3_i() : AddChild
  1242.       {
  1243.          var _loc1_:AddChild = new AddChild();
  1244.          this._RuntimeInstaller_AddChild3 = _loc1_;
  1245.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox4_i);
  1246.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild3",this._RuntimeInstaller_AddChild3);
  1247.          return _loc1_;
  1248.       }
  1249.       
  1250.       private function _RuntimeInstaller_SetProperty2_i() : SetProperty
  1251.       {
  1252.          var _loc1_:SetProperty = new SetProperty();
  1253.          this._RuntimeInstaller_SetProperty2 = _loc1_;
  1254.          _loc1_.name = "header";
  1255.          _loc1_.value = "titleLicenseAgreement";
  1256.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty2",this._RuntimeInstaller_SetProperty2);
  1257.          return _loc1_;
  1258.       }
  1259.       
  1260.       private function onCancel() : void
  1261.       {
  1262.          this.sharedEvents.dispatchEvent(new Event("installui.cancel"));
  1263.          if(currentState == "Progress")
  1264.          {
  1265.             currentState = "ProgressCancel";
  1266.          }
  1267.       }
  1268.       
  1269.       private function _RuntimeInstaller_State8_c() : State
  1270.       {
  1271.          var _loc1_:State = new State();
  1272.          _loc1_.name = "UninstallNoApps";
  1273.          _loc1_.basedOn = "Uninstall";
  1274.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty10_i(),this._RuntimeInstaller_RemoveChild1_i()];
  1275.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State8_enterState);
  1276.          return _loc1_;
  1277.       }
  1278.       
  1279.       private function _RuntimeInstaller_VBox8_i() : VBox
  1280.       {
  1281.          var _loc1_:VBox = new VBox();
  1282.          this.progressContent = _loc1_;
  1283.          _loc1_.styleName = "contentBox";
  1284.          _loc1_.percentWidth = 100;
  1285.          _loc1_.percentHeight = 100;
  1286.          _loc1_.addEventListener("creationComplete",this.__progressContent_creationComplete);
  1287.          _loc1_.id = "progressContent";
  1288.          if(!_loc1_.document)
  1289.          {
  1290.             _loc1_.document = this;
  1291.          }
  1292.          _loc1_.addChild(this._RuntimeInstaller_Spacer9_c());
  1293.          _loc1_.addChild(this._RuntimeInstaller_LocalizedLabel8_i());
  1294.          _loc1_.addChild(this._RuntimeInstaller_ProgressBar1_i());
  1295.          _loc1_.addChild(this._RuntimeInstaller_Spacer10_c());
  1296.          _loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox6_c());
  1297.          return _loc1_;
  1298.       }
  1299.       
  1300.       public function __errorClose_click(param1:MouseEvent) : void
  1301.       {
  1302.          this.onFinish();
  1303.       }
  1304.       
  1305.       private function _RuntimeInstaller_Spacer12_c() : Spacer
  1306.       {
  1307.          var _loc1_:Spacer = new Spacer();
  1308.          _loc1_.height = 6;
  1309.          if(!_loc1_.document)
  1310.          {
  1311.             _loc1_.document = this;
  1312.          }
  1313.          return _loc1_;
  1314.       }
  1315.       
  1316.       public function ___RuntimeInstaller_State1_enterState(param1:FlexEvent) : void
  1317.       {
  1318.          focusManager.setFocus(this.eula.agree);
  1319.       }
  1320.       
  1321.       public function set progressBar(param1:ProgressBar) : void
  1322.       {
  1323.          var _loc2_:Object = null;
  1324.          _loc2_ = this._1131509414progressBar;
  1325.          if(_loc2_ !== param1)
  1326.          {
  1327.             this._1131509414progressBar = param1;
  1328.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressBar",_loc2_,param1));
  1329.          }
  1330.       }
  1331.       
  1332.       public function ___RuntimeInstaller_VBox4_creationComplete(param1:FlexEvent) : void
  1333.       {
  1334.          activate();
  1335.       }
  1336.       
  1337.       private function _RuntimeInstaller_bindingsSetup() : Array
  1338.       {
  1339.          var binding:Binding = null;
  1340.          var result:Array = [];
  1341.          binding = new Binding(this,function():Object
  1342.          {
  1343.             return airIcon;
  1344.          },function(param1:Object):void
  1345.          {
  1346.             iconImage.source = param1;
  1347.          },"iconImage.source");
  1348.          result[0] = binding;
  1349.          binding = new Binding(this,function():Object
  1350.          {
  1351.             return this;
  1352.          },function(param1:Object):void
  1353.          {
  1354.             _RuntimeInstaller_SetProperty1.target = param1;
  1355.          },"_RuntimeInstaller_SetProperty1.target");
  1356.          result[1] = binding;
  1357.          binding = new Binding(this,function():UIComponent
  1358.          {
  1359.             return contentBox;
  1360.          },function(param1:UIComponent):void
  1361.          {
  1362.             _RuntimeInstaller_AddChild1.relativeTo = param1;
  1363.          },"_RuntimeInstaller_AddChild1.relativeTo");
  1364.          result[2] = binding;
  1365.          binding = new Binding(this,function():Boolean
  1366.          {
  1367.             return record.isNAI;
  1368.          },function(param1:Boolean):void
  1369.          {
  1370.             eula.native = param1;
  1371.          },"eula.native");
  1372.          result[3] = binding;
  1373.          binding = new Binding(this,function():Object
  1374.          {
  1375.             return eula;
  1376.          },function(param1:Object):void
  1377.          {
  1378.             _RuntimeInstaller_SetProperty2.target = param1;
  1379.          },"_RuntimeInstaller_SetProperty2.target");
  1380.          result[4] = binding;
  1381.          binding = new Binding(this,function():Object
  1382.          {
  1383.             return eula;
  1384.          },function(param1:Object):void
  1385.          {
  1386.             _RuntimeInstaller_SetProperty3.target = param1;
  1387.          },"_RuntimeInstaller_SetProperty3.target");
  1388.          result[5] = binding;
  1389.          binding = new Binding(this,function():Object
  1390.          {
  1391.             return eula;
  1392.          },function(param1:Object):void
  1393.          {
  1394.             _RuntimeInstaller_SetProperty4.target = param1;
  1395.          },"_RuntimeInstaller_SetProperty4.target");
  1396.          result[6] = binding;
  1397.          binding = new Binding(this,function():Object
  1398.          {
  1399.             return this;
  1400.          },function(param1:Object):void
  1401.          {
  1402.             _RuntimeInstaller_SetProperty5.target = param1;
  1403.          },"_RuntimeInstaller_SetProperty5.target");
  1404.          result[7] = binding;
  1405.          binding = new Binding(this,function():UIComponent
  1406.          {
  1407.             return contentBox;
  1408.          },function(param1:UIComponent):void
  1409.          {
  1410.             _RuntimeInstaller_AddChild2.relativeTo = param1;
  1411.          },"_RuntimeInstaller_AddChild2.relativeTo");
  1412.          result[8] = binding;
  1413.          binding = new Binding(this,function():IFlexDisplayObject
  1414.          {
  1415.             return additionalVersionAdd;
  1416.          },function(param1:IFlexDisplayObject):void
  1417.          {
  1418.             _RuntimeInstaller_VBox3.defaultButton = param1;
  1419.          },"_RuntimeInstaller_VBox3.defaultButton");
  1420.          result[9] = binding;
  1421.          binding = new Binding(this,function():Array
  1422.          {
  1423.             return [record.versionShort];
  1424.          },function(param1:Array):void
  1425.          {
  1426.             _RuntimeInstaller_LocalizedText2.resourceParams = param1;
  1427.          },"_RuntimeInstaller_LocalizedText2.resourceParams");
  1428.          result[10] = binding;
  1429.          binding = new Binding(this,function():Object
  1430.          {
  1431.             return this;
  1432.          },function(param1:Object):void
  1433.          {
  1434.             _RuntimeInstaller_SetProperty6.target = param1;
  1435.          },"_RuntimeInstaller_SetProperty6.target");
  1436.          result[11] = binding;
  1437.          binding = new Binding(this,function():UIComponent
  1438.          {
  1439.             return contentBox;
  1440.          },function(param1:UIComponent):void
  1441.          {
  1442.             _RuntimeInstaller_AddChild3.relativeTo = param1;
  1443.          },"_RuntimeInstaller_AddChild3.relativeTo");
  1444.          result[12] = binding;
  1445.          binding = new Binding(this,function():IFlexDisplayObject
  1446.          {
  1447.             return patchNewerUpdate;
  1448.          },function(param1:IFlexDisplayObject):void
  1449.          {
  1450.             _RuntimeInstaller_VBox4.defaultButton = param1;
  1451.          },"_RuntimeInstaller_VBox4.defaultButton");
  1452.          result[13] = binding;
  1453.          binding = new Binding(this,function():String
  1454.          {
  1455.             var _loc1_:* = record.currentPatchLevel;
  1456.             return _loc1_ == undefined ? null : String(_loc1_);
  1457.          },function(param1:String):void
  1458.          {
  1459.             _RuntimeInstaller_Label1.text = param1;
  1460.          },"_RuntimeInstaller_Label1.text");
  1461.          result[14] = binding;
  1462.          binding = new Binding(this,function():String
  1463.          {
  1464.             var _loc1_:* = record.newPatchLevel;
  1465.             return _loc1_ == undefined ? null : String(_loc1_);
  1466.          },function(param1:String):void
  1467.          {
  1468.             _RuntimeInstaller_Label2.text = param1;
  1469.          },"_RuntimeInstaller_Label2.text");
  1470.          result[15] = binding;
  1471.          binding = new Binding(this,function():Object
  1472.          {
  1473.             return this;
  1474.          },function(param1:Object):void
  1475.          {
  1476.             _RuntimeInstaller_SetProperty7.target = param1;
  1477.          },"_RuntimeInstaller_SetProperty7.target");
  1478.          result[16] = binding;
  1479.          binding = new Binding(this,function():UIComponent
  1480.          {
  1481.             return contentBox;
  1482.          },function(param1:UIComponent):void
  1483.          {
  1484.             _RuntimeInstaller_AddChild4.relativeTo = param1;
  1485.          },"_RuntimeInstaller_AddChild4.relativeTo");
  1486.          result[17] = binding;
  1487.          binding = new Binding(this,function():IFlexDisplayObject
  1488.          {
  1489.             return patchSameClose;
  1490.          },function(param1:IFlexDisplayObject):void
  1491.          {
  1492.             _RuntimeInstaller_VBox5.defaultButton = param1;
  1493.          },"_RuntimeInstaller_VBox5.defaultButton");
  1494.          result[18] = binding;
  1495.          binding = new Binding(this,function():Object
  1496.          {
  1497.             return this;
  1498.          },function(param1:Object):void
  1499.          {
  1500.             _RuntimeInstaller_SetProperty8.target = param1;
  1501.          },"_RuntimeInstaller_SetProperty8.target");
  1502.          result[19] = binding;
  1503.          binding = new Binding(this,function():UIComponent
  1504.          {
  1505.             return contentBox;
  1506.          },function(param1:UIComponent):void
  1507.          {
  1508.             _RuntimeInstaller_AddChild5.relativeTo = param1;
  1509.          },"_RuntimeInstaller_AddChild5.relativeTo");
  1510.          result[20] = binding;
  1511.          binding = new Binding(this,function():IFlexDisplayObject
  1512.          {
  1513.             return patchOlderClose;
  1514.          },function(param1:IFlexDisplayObject):void
  1515.          {
  1516.             _RuntimeInstaller_VBox6.defaultButton = param1;
  1517.          },"_RuntimeInstaller_VBox6.defaultButton");
  1518.          result[21] = binding;
  1519.          binding = new Binding(this,function():Object
  1520.          {
  1521.             return this;
  1522.          },function(param1:Object):void
  1523.          {
  1524.             _RuntimeInstaller_SetProperty9.target = param1;
  1525.          },"_RuntimeInstaller_SetProperty9.target");
  1526.          result[22] = binding;
  1527.          binding = new Binding(this,function():UIComponent
  1528.          {
  1529.             return contentBox;
  1530.          },function(param1:UIComponent):void
  1531.          {
  1532.             _RuntimeInstaller_AddChild6.relativeTo = param1;
  1533.          },"_RuntimeInstaller_AddChild6.relativeTo");
  1534.          result[23] = binding;
  1535.          binding = new Binding(this,function():IFlexDisplayObject
  1536.          {
  1537.             return uninstallCancel;
  1538.          },function(param1:IFlexDisplayObject):void
  1539.          {
  1540.             _RuntimeInstaller_VBox7.defaultButton = param1;
  1541.          },"_RuntimeInstaller_VBox7.defaultButton");
  1542.          result[24] = binding;
  1543.          binding = new Binding(this,function():Object
  1544.          {
  1545.             return installedApps;
  1546.          },function(param1:Object):void
  1547.          {
  1548.             installedAppsList.dataProvider = param1;
  1549.          },"installedAppsList.dataProvider");
  1550.          result[25] = binding;
  1551.          binding = new Binding(this,function():Object
  1552.          {
  1553.             return this;
  1554.          },function(param1:Object):void
  1555.          {
  1556.             _RuntimeInstaller_SetProperty10.target = param1;
  1557.          },"_RuntimeInstaller_SetProperty10.target");
  1558.          result[26] = binding;
  1559.          binding = new Binding(this,function():DisplayObject
  1560.          {
  1561.             return uninstallAppCanvas;
  1562.          },function(param1:DisplayObject):void
  1563.          {
  1564.             _RuntimeInstaller_RemoveChild1.target = param1;
  1565.          },"_RuntimeInstaller_RemoveChild1.target");
  1566.          result[27] = binding;
  1567.          binding = new Binding(this,function():Object
  1568.          {
  1569.             return this;
  1570.          },function(param1:Object):void
  1571.          {
  1572.             _RuntimeInstaller_SetProperty11.target = param1;
  1573.          },"_RuntimeInstaller_SetProperty11.target");
  1574.          result[28] = binding;
  1575.          binding = new Binding(this,function():UIComponent
  1576.          {
  1577.             return contentBox;
  1578.          },function(param1:UIComponent):void
  1579.          {
  1580.             _RuntimeInstaller_AddChild7.relativeTo = param1;
  1581.          },"_RuntimeInstaller_AddChild7.relativeTo");
  1582.          result[29] = binding;
  1583.          binding = new Binding(this,function():String
  1584.          {
  1585.             var _loc1_:* = progressResourceName;
  1586.             return _loc1_ == undefined ? null : String(_loc1_);
  1587.          },function(param1:String):void
  1588.          {
  1589.             progressLabel.resourceName = param1;
  1590.          },"progressLabel.resourceName");
  1591.          result[30] = binding;
  1592.          binding = new Binding(this,function():Object
  1593.          {
  1594.             return this;
  1595.          },function(param1:Object):void
  1596.          {
  1597.             _RuntimeInstaller_SetProperty12.target = param1;
  1598.          },"_RuntimeInstaller_SetProperty12.target");
  1599.          result[31] = binding;
  1600.          binding = new Binding(this,function():DisplayObject
  1601.          {
  1602.             return progressContent;
  1603.          },function(param1:DisplayObject):void
  1604.          {
  1605.             _RuntimeInstaller_AddChild8.target = param1;
  1606.          },"_RuntimeInstaller_AddChild8.target");
  1607.          result[32] = binding;
  1608.          binding = new Binding(this,function():UIComponent
  1609.          {
  1610.             return contentBox;
  1611.          },function(param1:UIComponent):void
  1612.          {
  1613.             _RuntimeInstaller_AddChild8.relativeTo = param1;
  1614.          },"_RuntimeInstaller_AddChild8.relativeTo");
  1615.          result[33] = binding;
  1616.          binding = new Binding(this,function():Object
  1617.          {
  1618.             return this;
  1619.          },function(param1:Object):void
  1620.          {
  1621.             _RuntimeInstaller_SetProperty13.target = param1;
  1622.          },"_RuntimeInstaller_SetProperty13.target");
  1623.          result[34] = binding;
  1624.          binding = new Binding(this,function():Object
  1625.          {
  1626.             return progressCancel;
  1627.          },function(param1:Object):void
  1628.          {
  1629.             _RuntimeInstaller_SetProperty14.target = param1;
  1630.          },"_RuntimeInstaller_SetProperty14.target");
  1631.          result[35] = binding;
  1632.          binding = new Binding(this,function():Object
  1633.          {
  1634.             return this;
  1635.          },function(param1:Object):void
  1636.          {
  1637.             _RuntimeInstaller_SetProperty15.target = param1;
  1638.          },"_RuntimeInstaller_SetProperty15.target");
  1639.          result[36] = binding;
  1640.          binding = new Binding(this,function():UIComponent
  1641.          {
  1642.             return contentBox;
  1643.          },function(param1:UIComponent):void
  1644.          {
  1645.             _RuntimeInstaller_AddChild9.relativeTo = param1;
  1646.          },"_RuntimeInstaller_AddChild9.relativeTo");
  1647.          result[37] = binding;
  1648.          binding = new Binding(this,function():IFlexDisplayObject
  1649.          {
  1650.             return completeFinish;
  1651.          },function(param1:IFlexDisplayObject):void
  1652.          {
  1653.             _RuntimeInstaller_VBox9.defaultButton = param1;
  1654.          },"_RuntimeInstaller_VBox9.defaultButton");
  1655.          result[38] = binding;
  1656.          binding = new Binding(this,function():String
  1657.          {
  1658.             var _loc1_:* = completeLabelResourceName;
  1659.             return _loc1_ == undefined ? null : String(_loc1_);
  1660.          },function(param1:String):void
  1661.          {
  1662.             _RuntimeInstaller_LocalizedLabel9.resourceName = param1;
  1663.          },"_RuntimeInstaller_LocalizedLabel9.resourceName");
  1664.          result[39] = binding;
  1665.          binding = new Binding(this,function():String
  1666.          {
  1667.             var _loc1_:* = completeTextResourceName;
  1668.             return _loc1_ == undefined ? null : String(_loc1_);
  1669.          },function(param1:String):void
  1670.          {
  1671.             _RuntimeInstaller_LocalizedText8.resourceName = param1;
  1672.          },"_RuntimeInstaller_LocalizedText8.resourceName");
  1673.          result[40] = binding;
  1674.          binding = new Binding(this,function():Object
  1675.          {
  1676.             return this;
  1677.          },function(param1:Object):void
  1678.          {
  1679.             _RuntimeInstaller_SetProperty16.target = param1;
  1680.          },"_RuntimeInstaller_SetProperty16.target");
  1681.          result[41] = binding;
  1682.          binding = new Binding(this,function():UIComponent
  1683.          {
  1684.             return contentBox;
  1685.          },function(param1:UIComponent):void
  1686.          {
  1687.             _RuntimeInstaller_AddChild10.relativeTo = param1;
  1688.          },"_RuntimeInstaller_AddChild10.relativeTo");
  1689.          result[42] = binding;
  1690.          binding = new Binding(this,function():IFlexDisplayObject
  1691.          {
  1692.             return patchLater;
  1693.          },function(param1:IFlexDisplayObject):void
  1694.          {
  1695.             _RuntimeInstaller_VBox10.defaultButton = param1;
  1696.          },"_RuntimeInstaller_VBox10.defaultButton");
  1697.          result[43] = binding;
  1698.          binding = new Binding(this,function():Object
  1699.          {
  1700.             return this;
  1701.          },function(param1:Object):void
  1702.          {
  1703.             _RuntimeInstaller_SetProperty17.target = param1;
  1704.          },"_RuntimeInstaller_SetProperty17.target");
  1705.          result[44] = binding;
  1706.          binding = new Binding(this,function():DisplayObject
  1707.          {
  1708.             return updateAppsRunningCanvas;
  1709.          },function(param1:DisplayObject):void
  1710.          {
  1711.             _RuntimeInstaller_RemoveChild2.target = param1;
  1712.          },"_RuntimeInstaller_RemoveChild2.target");
  1713.          result[45] = binding;
  1714.          binding = new Binding(this,function():DisplayObject
  1715.          {
  1716.             return updateSpacer;
  1717.          },function(param1:DisplayObject):void
  1718.          {
  1719.             _RuntimeInstaller_RemoveChild3.target = param1;
  1720.          },"_RuntimeInstaller_RemoveChild3.target");
  1721.          result[46] = binding;
  1722.          binding = new Binding(this,function():Object
  1723.          {
  1724.             return updateText;
  1725.          },function(param1:Object):void
  1726.          {
  1727.             _RuntimeInstaller_SetProperty18.target = param1;
  1728.          },"_RuntimeInstaller_SetProperty18.target");
  1729.          result[47] = binding;
  1730.          binding = new Binding(this,function():Object
  1731.          {
  1732.             return patchNow;
  1733.          },function(param1:Object):void
  1734.          {
  1735.             _RuntimeInstaller_SetProperty19.target = param1;
  1736.          },"_RuntimeInstaller_SetProperty19.target");
  1737.          result[48] = binding;
  1738.          binding = new Binding(this,function():IStyleClient
  1739.          {
  1740.             return patchNow;
  1741.          },function(param1:IStyleClient):void
  1742.          {
  1743.             _RuntimeInstaller_SetStyle1.target = param1;
  1744.          },"_RuntimeInstaller_SetStyle1.target");
  1745.          result[49] = binding;
  1746.          binding = new Binding(this,function():IStyleClient
  1747.          {
  1748.             return patchLater;
  1749.          },function(param1:IStyleClient):void
  1750.          {
  1751.             _RuntimeInstaller_SetStyle2.target = param1;
  1752.          },"_RuntimeInstaller_SetStyle2.target");
  1753.          result[50] = binding;
  1754.          binding = new Binding(this,function():Object
  1755.          {
  1756.             return this;
  1757.          },function(param1:Object):void
  1758.          {
  1759.             _RuntimeInstaller_SetProperty20.target = param1;
  1760.          },"_RuntimeInstaller_SetProperty20.target");
  1761.          result[51] = binding;
  1762.          binding = new Binding(this,function():UIComponent
  1763.          {
  1764.             return contentBox;
  1765.          },function(param1:UIComponent):void
  1766.          {
  1767.             _RuntimeInstaller_AddChild11.relativeTo = param1;
  1768.          },"_RuntimeInstaller_AddChild11.relativeTo");
  1769.          result[52] = binding;
  1770.          binding = new Binding(this,function():IFlexDisplayObject
  1771.          {
  1772.             return errorClose;
  1773.          },function(param1:IFlexDisplayObject):void
  1774.          {
  1775.             _RuntimeInstaller_VBox11.defaultButton = param1;
  1776.          },"_RuntimeInstaller_VBox11.defaultButton");
  1777.          result[53] = binding;
  1778.          return result;
  1779.       }
  1780.       
  1781.       public function ___RuntimeInstaller_State4_enterState(param1:FlexEvent) : void
  1782.       {
  1783.          focusManager.setFocus(this.patchNewerUpdate);
  1784.       }
  1785.       
  1786.       private function _RuntimeInstaller_AddChild2_i() : AddChild
  1787.       {
  1788.          var _loc1_:AddChild = new AddChild();
  1789.          this._RuntimeInstaller_AddChild2 = _loc1_;
  1790.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox3_i);
  1791.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild2",this._RuntimeInstaller_AddChild2);
  1792.          return _loc1_;
  1793.       }
  1794.       
  1795.       private function _RuntimeInstaller_State7_c() : State
  1796.       {
  1797.          var _loc1_:State = new State();
  1798.          _loc1_.name = "Uninstall";
  1799.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty9_i(),this._RuntimeInstaller_AddChild6_i()];
  1800.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State7_enterState);
  1801.          return _loc1_;
  1802.       }
  1803.       
  1804.       private function _RuntimeInstaller_LocalizedLabel2_c() : LocalizedLabel
  1805.       {
  1806.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  1807.          _loc1_.styleName = "h2";
  1808.          _loc1_.resourceName = "titleUpdateAIR";
  1809.          if(!_loc1_.document)
  1810.          {
  1811.             _loc1_.document = this;
  1812.          }
  1813.          return _loc1_;
  1814.       }
  1815.       
  1816.       [Bindable(event="propertyChange")]
  1817.       public function get patchNow() : LocalizedButton
  1818.       {
  1819.          return this._1230359918patchNow;
  1820.       }
  1821.       
  1822.       private function _RuntimeInstaller_Label2_i() : Label
  1823.       {
  1824.          var _loc1_:Label = new Label();
  1825.          this._RuntimeInstaller_Label2 = _loc1_;
  1826.          _loc1_.styleName = "formItemText";
  1827.          _loc1_.id = "_RuntimeInstaller_Label2";
  1828.          BindingManager.executeBindings(this,"_RuntimeInstaller_Label2",this._RuntimeInstaller_Label2);
  1829.          if(!_loc1_.document)
  1830.          {
  1831.             _loc1_.document = this;
  1832.          }
  1833.          return _loc1_;
  1834.       }
  1835.       
  1836.       private function _RuntimeInstaller_Spacer11_c() : Spacer
  1837.       {
  1838.          var _loc1_:Spacer = new Spacer();
  1839.          _loc1_.percentHeight = 100;
  1840.          if(!_loc1_.document)
  1841.          {
  1842.             _loc1_.document = this;
  1843.          }
  1844.          return _loc1_;
  1845.       }
  1846.       
  1847.       public function ___RuntimeInstaller_State7_enterState(param1:FlexEvent) : void
  1848.       {
  1849.          focusManager.setFocus(this.uninstallCancel);
  1850.       }
  1851.       
  1852.       private function _RuntimeInstaller_SetProperty1_i() : SetProperty
  1853.       {
  1854.          var _loc1_:SetProperty = new SetProperty();
  1855.          this._RuntimeInstaller_SetProperty1 = _loc1_;
  1856.          _loc1_.name = "stageHeight";
  1857.          _loc1_.value = 392;
  1858.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty1",this._RuntimeInstaller_SetProperty1);
  1859.          return _loc1_;
  1860.       }
  1861.       
  1862.       public function ___RuntimeInstaller_VBox6_creationComplete(param1:FlexEvent) : void
  1863.       {
  1864.          activate();
  1865.       }
  1866.       
  1867.       private function _RuntimeInstaller_LocalizedButton9_i() : LocalizedButton
  1868.       {
  1869.          var _loc1_:LocalizedButton = new LocalizedButton();
  1870.          this.progressCancel = _loc1_;
  1871.          _loc1_.resourceName = "btnCancel";
  1872.          _loc1_.addEventListener("click",this.__progressCancel_click);
  1873.          _loc1_.id = "progressCancel";
  1874.          if(!_loc1_.document)
  1875.          {
  1876.             _loc1_.document = this;
  1877.          }
  1878.          return _loc1_;
  1879.       }
  1880.       
  1881.       public function set progressLabel(param1:LocalizedLabel) : void
  1882.       {
  1883.          var _loc2_:Object = null;
  1884.          _loc2_ = this._763044039progressLabel;
  1885.          if(_loc2_ !== param1)
  1886.          {
  1887.             this._763044039progressLabel = param1;
  1888.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressLabel",_loc2_,param1));
  1889.          }
  1890.       }
  1891.       
  1892.       public function __progressBar_creationComplete(param1:FlexEvent) : void
  1893.       {
  1894.          this.initProgressAccessibility(this.progressBar);
  1895.       }
  1896.       
  1897.       public function ___RuntimeInstaller_LocalizedButton7_click(param1:MouseEvent) : void
  1898.       {
  1899.          this.onConfirm();
  1900.       }
  1901.       
  1902.       private function _RuntimeInstaller_SetProperty19_i() : SetProperty
  1903.       {
  1904.          var _loc1_:SetProperty = new SetProperty();
  1905.          this._RuntimeInstaller_SetProperty19 = _loc1_;
  1906.          _loc1_.name = "enabled";
  1907.          _loc1_.value = true;
  1908.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty19",this._RuntimeInstaller_SetProperty19);
  1909.          return _loc1_;
  1910.       }
  1911.       
  1912.       [Bindable(event="propertyChange")]
  1913.       public function get progressContent() : VBox
  1914.       {
  1915.          return this._139350644progressContent;
  1916.       }
  1917.       
  1918.       [Bindable(event="propertyChange")]
  1919.       public function get updateText() : LocalizedText
  1920.       {
  1921.          return this._295934570updateText;
  1922.       }
  1923.       
  1924.       private function _RuntimeInstaller_VBox7_i() : VBox
  1925.       {
  1926.          var _loc1_:VBox = new VBox();
  1927.          this._RuntimeInstaller_VBox7 = _loc1_;
  1928.          _loc1_.styleName = "contentBox";
  1929.          _loc1_.percentWidth = 100;
  1930.          _loc1_.percentHeight = 100;
  1931.          _loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox7_creationComplete);
  1932.          _loc1_.id = "_RuntimeInstaller_VBox7";
  1933.          BindingManager.executeBindings(this,"_RuntimeInstaller_VBox7",this._RuntimeInstaller_VBox7);
  1934.          if(!_loc1_.document)
  1935.          {
  1936.             _loc1_.document = this;
  1937.          }
  1938.          _loc1_.addChild(this._RuntimeInstaller_LocalizedLabel7_c());
  1939.          _loc1_.addChild(this._RuntimeInstaller_LocalizedText6_c());
  1940.          _loc1_.addChild(this._RuntimeInstaller_Spacer6_c());
  1941.          _loc1_.addChild(this._RuntimeInstaller_Canvas1_i());
  1942.          _loc1_.addChild(this._RuntimeInstaller_Spacer7_c());
  1943.          _loc1_.addChild(this._RuntimeInstaller_LocalizedText7_c());
  1944.          _loc1_.addChild(this._RuntimeInstaller_Spacer8_c());
  1945.          _loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox5_c());
  1946.          return _loc1_;
  1947.       }
  1948.       
  1949.       private function set greenCircleIcon(param1:Class) : void
  1950.       {
  1951.          var _loc2_:Object = null;
  1952.          _loc2_ = this._229542092greenCircleIcon;
  1953.          if(_loc2_ !== param1)
  1954.          {
  1955.             this._229542092greenCircleIcon = param1;
  1956.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"greenCircleIcon",_loc2_,param1));
  1957.          }
  1958.       }
  1959.       
  1960.       public function set errorClose(param1:LocalizedButton) : void
  1961.       {
  1962.          var _loc2_:Object = null;
  1963.          _loc2_ = this._1610096848errorClose;
  1964.          if(_loc2_ !== param1)
  1965.          {
  1966.             this._1610096848errorClose = param1;
  1967.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"errorClose",_loc2_,param1));
  1968.          }
  1969.       }
  1970.       
  1971.       public function __uninstallCancel_click(param1:MouseEvent) : void
  1972.       {
  1973.          this.onCancel();
  1974.       }
  1975.       
  1976.       private function _RuntimeInstaller_LocalizedLabel1_c() : LocalizedLabel
  1977.       {
  1978.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  1979.          _loc1_.styleName = "h2";
  1980.          _loc1_.resourceName = "titleWelcome";
  1981.          if(!_loc1_.document)
  1982.          {
  1983.             _loc1_.document = this;
  1984.          }
  1985.          return _loc1_;
  1986.       }
  1987.       
  1988.       private function _RuntimeInstaller_GridItem4_c() : GridItem
  1989.       {
  1990.          var _loc1_:GridItem = new GridItem();
  1991.          if(!_loc1_.document)
  1992.          {
  1993.             _loc1_.document = this;
  1994.          }
  1995.          _loc1_.addChild(this._RuntimeInstaller_Label2_i());
  1996.          return _loc1_;
  1997.       }
  1998.       
  1999.       public function ___RuntimeInstaller_State12_enterState(param1:FlexEvent) : void
  2000.       {
  2001.          focusManager.setFocus(this.patchLater);
  2002.       }
  2003.       
  2004.       private function _RuntimeInstaller_AddChild1_i() : AddChild
  2005.       {
  2006.          var _loc1_:AddChild = new AddChild();
  2007.          this._RuntimeInstaller_AddChild1 = _loc1_;
  2008.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_EULA1_i);
  2009.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild1",this._RuntimeInstaller_AddChild1);
  2010.          return _loc1_;
  2011.       }
  2012.       
  2013.       private function _RuntimeInstaller_State6_c() : State
  2014.       {
  2015.          var _loc1_:State = new State();
  2016.          _loc1_.name = "PatchOlder";
  2017.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty8_i(),this._RuntimeInstaller_AddChild5_i()];
  2018.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State6_enterState);
  2019.          return _loc1_;
  2020.       }
  2021.       
  2022.       private function _RuntimeInstaller_VBox6_i() : VBox
  2023.       {
  2024.          var _loc1_:VBox = new VBox();
  2025.          this._RuntimeInstaller_VBox6 = _loc1_;
  2026.          _loc1_.styleName = "contentBox";
  2027.          _loc1_.percentWidth = 100;
  2028.          _loc1_.percentHeight = 100;
  2029.          _loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox6_creationComplete);
  2030.          _loc1_.id = "_RuntimeInstaller_VBox6";
  2031.          BindingManager.executeBindings(this,"_RuntimeInstaller_VBox6",this._RuntimeInstaller_VBox6);
  2032.          if(!_loc1_.document)
  2033.          {
  2034.             _loc1_.document = this;
  2035.          }
  2036.          _loc1_.addChild(this._RuntimeInstaller_LocalizedLabel6_c());
  2037.          _loc1_.addChild(this._RuntimeInstaller_LocalizedText5_c());
  2038.          _loc1_.addChild(this._RuntimeInstaller_Spacer5_c());
  2039.          _loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox4_c());
  2040.          return _loc1_;
  2041.       }
  2042.       
  2043.       private function _RuntimeInstaller_Spacer10_c() : Spacer
  2044.       {
  2045.          var _loc1_:Spacer = new Spacer();
  2046.          _loc1_.percentHeight = 100;
  2047.          if(!_loc1_.document)
  2048.          {
  2049.             _loc1_.document = this;
  2050.          }
  2051.          return _loc1_;
  2052.       }
  2053.       
  2054.       private function set redCircleIcon(param1:Class) : void
  2055.       {
  2056.          var _loc2_:Object = null;
  2057.          _loc2_ = this._1654957862redCircleIcon;
  2058.          if(_loc2_ !== param1)
  2059.          {
  2060.             this._1654957862redCircleIcon = param1;
  2061.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redCircleIcon",_loc2_,param1));
  2062.          }
  2063.       }
  2064.       
  2065.       [Bindable(event="propertyChange")]
  2066.       private function get rightArrowNative() : Class
  2067.       {
  2068.          return this._1501004228rightArrowNative;
  2069.       }
  2070.       
  2071.       private function _RuntimeInstaller_LocalizedButton8_i() : LocalizedButton
  2072.       {
  2073.          var _loc1_:LocalizedButton = new LocalizedButton();
  2074.          this.uninstallCancel = _loc1_;
  2075.          _loc1_.resourceName = "btnCancel";
  2076.          _loc1_.styleName = "defaultButton";
  2077.          _loc1_.addEventListener("click",this.__uninstallCancel_click);
  2078.          _loc1_.id = "uninstallCancel";
  2079.          if(!_loc1_.document)
  2080.          {
  2081.             _loc1_.document = this;
  2082.          }
  2083.          return _loc1_;
  2084.       }
  2085.       
  2086.       private function _RuntimeInstaller_Label1_i() : Label
  2087.       {
  2088.          var _loc1_:Label = new Label();
  2089.          this._RuntimeInstaller_Label1 = _loc1_;
  2090.          _loc1_.styleName = "formItemText";
  2091.          _loc1_.id = "_RuntimeInstaller_Label1";
  2092.          BindingManager.executeBindings(this,"_RuntimeInstaller_Label1",this._RuntimeInstaller_Label1);
  2093.          if(!_loc1_.document)
  2094.          {
  2095.             _loc1_.document = this;
  2096.          }
  2097.          return _loc1_;
  2098.       }
  2099.       
  2100.       [Bindable(event="propertyChange")]
  2101.       public function get patchSameClose() : LocalizedButton
  2102.       {
  2103.          return this._607735242patchSameClose;
  2104.       }
  2105.       
  2106.       private function set airIcon(param1:Class) : void
  2107.       {
  2108.          var _loc2_:Object = null;
  2109.          _loc2_ = this._992840477airIcon;
  2110.          if(_loc2_ !== param1)
  2111.          {
  2112.             this._992840477airIcon = param1;
  2113.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airIcon",_loc2_,param1));
  2114.          }
  2115.       }
  2116.       
  2117.       [Bindable(event="propertyChange")]
  2118.       public function get patchNewerCancel() : LocalizedButton
  2119.       {
  2120.          return this._503203263patchNewerCancel;
  2121.       }
  2122.       
  2123.       public function set updateAppsRunningCanvas(param1:Canvas) : void
  2124.       {
  2125.          var _loc2_:Object = null;
  2126.          _loc2_ = this._853798108updateAppsRunningCanvas;
  2127.          if(_loc2_ !== param1)
  2128.          {
  2129.             this._853798108updateAppsRunningCanvas = param1;
  2130.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateAppsRunningCanvas",_loc2_,param1));
  2131.          }
  2132.       }
  2133.       
  2134.       private function onClosing(param1:Event) : void
  2135.       {
  2136.          param1.preventDefault();
  2137.          switch(currentState)
  2138.          {
  2139.             case "EULA":
  2140.             case "FirstLaunchEULA":
  2141.             case "AdditionalVersion":
  2142.             case "PatchNewer":
  2143.             case "Uninstall":
  2144.             case "UninstallNoApps":
  2145.             case "Progress":
  2146.                this.asyncCall(this.onCancel);
  2147.                break;
  2148.             case "PatchSame":
  2149.             case "PatchOlder":
  2150.             case "Complete":
  2151.             case "Error":
  2152.                this.asyncCall(this.onFinish);
  2153.                break;
  2154.             case "InstallUpdatesNoApps":
  2155.             case "InstallUpdates":
  2156.                this.asyncCall(this.onPatchLater);
  2157.          }
  2158.       }
  2159.       
  2160.       private function _RuntimeInstaller_SetProperty18_i() : SetProperty
  2161.       {
  2162.          var _loc1_:SetProperty = new SetProperty();
  2163.          this._RuntimeInstaller_SetProperty18 = _loc1_;
  2164.          _loc1_.name = "resourceName";
  2165.          _loc1_.value = "shortUpdateText";
  2166.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty18",this._RuntimeInstaller_SetProperty18);
  2167.          return _loc1_;
  2168.       }
  2169.       
  2170.       public function set completeTextResourceName(param1:String) : void
  2171.       {
  2172.          var _loc2_:Object = null;
  2173.          _loc2_ = this._1992811297completeTextResourceName;
  2174.          if(_loc2_ !== param1)
  2175.          {
  2176.             this._1992811297completeTextResourceName = param1;
  2177.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"completeTextResourceName",_loc2_,param1));
  2178.          }
  2179.       }
  2180.       
  2181.       private function set appIconNativeBG(param1:Class) : void
  2182.       {
  2183.          var _loc2_:Object = null;
  2184.          _loc2_ = this._463497974appIconNativeBG;
  2185.          if(_loc2_ !== param1)
  2186.          {
  2187.             this._463497974appIconNativeBG = param1;
  2188.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconNativeBG",_loc2_,param1));
  2189.          }
  2190.       }
  2191.       
  2192.       private function _RuntimeInstaller_GridItem3_c() : GridItem
  2193.       {
  2194.          var _loc1_:GridItem = new GridItem();
  2195.          if(!_loc1_.document)
  2196.          {
  2197.             _loc1_.document = this;
  2198.          }
  2199.          _loc1_.addChild(this._RuntimeInstaller_LocalizedLabel4_c());
  2200.          return _loc1_;
  2201.       }
  2202.       
  2203.       private function onEULAStyleLoaded(param1:Event = null) : void
  2204.       {
  2205.          updateStylesForLocale();
  2206.          currentState = "FirstLaunchEULA";
  2207.          stage.nativeWindow.title = locManager.getString("titleNativeWindow");
  2208.       }
  2209.       
  2210.       public function __eula_cancel(param1:Event) : void
  2211.       {
  2212.          this.onCancel();
  2213.       }
  2214.       
  2215.       public function __patchNewerUpdate_click(param1:MouseEvent) : void
  2216.       {
  2217.          this.onConfirm();
  2218.       }
  2219.       
  2220.       private function _RuntimeInstaller_State5_c() : State
  2221.       {
  2222.          var _loc1_:State = new State();
  2223.          _loc1_.name = "PatchSame";
  2224.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty7_i(),this._RuntimeInstaller_AddChild4_i()];
  2225.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State5_enterState);
  2226.          return _loc1_;
  2227.       }
  2228.       
  2229.       private function _RuntimeInstaller_VBox5_i() : VBox
  2230.       {
  2231.          var _loc1_:VBox = new VBox();
  2232.          this._RuntimeInstaller_VBox5 = _loc1_;
  2233.          _loc1_.styleName = "contentBox";
  2234.          _loc1_.percentWidth = 100;
  2235.          _loc1_.percentHeight = 100;
  2236.          _loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox5_creationComplete);
  2237.          _loc1_.id = "_RuntimeInstaller_VBox5";
  2238.          BindingManager.executeBindings(this,"_RuntimeInstaller_VBox5",this._RuntimeInstaller_VBox5);
  2239.          if(!_loc1_.document)
  2240.          {
  2241.             _loc1_.document = this;
  2242.          }
  2243.          _loc1_.addChild(this._RuntimeInstaller_LocalizedLabel5_c());
  2244.          _loc1_.addChild(this._RuntimeInstaller_LocalizedText4_c());
  2245.          _loc1_.addChild(this._RuntimeInstaller_Spacer4_c());
  2246.          _loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox3_c());
  2247.          return _loc1_;
  2248.       }
  2249.       
  2250.       [Bindable(event="propertyChange")]
  2251.       public function get uninstallCancel() : LocalizedButton
  2252.       {
  2253.          return this._1634233860uninstallCancel;
  2254.       }
  2255.       
  2256.       private function _RuntimeInstaller_LocalizedButton7_c() : LocalizedButton
  2257.       {
  2258.          var _loc1_:LocalizedButton = new LocalizedButton();
  2259.          _loc1_.resourceName = "btnUninstall";
  2260.          _loc1_.addEventListener("click",this.___RuntimeInstaller_LocalizedButton7_click);
  2261.          if(!_loc1_.document)
  2262.          {
  2263.             _loc1_.document = this;
  2264.          }
  2265.          return _loc1_;
  2266.       }
  2267.       
  2268.       public function ___RuntimeInstaller_InstallerApplication1_preinitialize(param1:FlexEvent) : void
  2269.       {
  2270.          this.onPreInitialize();
  2271.       }
  2272.       
  2273.       private function _RuntimeInstaller_State14_c() : State
  2274.       {
  2275.          var _loc1_:State = new State();
  2276.          _loc1_.name = "Error";
  2277.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty20_i(),this._RuntimeInstaller_AddChild11_i()];
  2278.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State14_enterState);
  2279.          return _loc1_;
  2280.       }
  2281.       
  2282.       private function set installedApps(param1:Array) : void
  2283.       {
  2284.          var _loc2_:Object = null;
  2285.          _loc2_ = this._1172428532installedApps;
  2286.          if(_loc2_ !== param1)
  2287.          {
  2288.             this._1172428532installedApps = param1;
  2289.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"installedApps",_loc2_,param1));
  2290.          }
  2291.       }
  2292.       
  2293.       public function set progressCancel(param1:LocalizedButton) : void
  2294.       {
  2295.          var _loc2_:Object = null;
  2296.          _loc2_ = this._1922221831progressCancel;
  2297.          if(_loc2_ !== param1)
  2298.          {
  2299.             this._1922221831progressCancel = param1;
  2300.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressCancel",_loc2_,param1));
  2301.          }
  2302.       }
  2303.       
  2304.       private function _RuntimeInstaller_SetProperty17_i() : SetProperty
  2305.       {
  2306.          var _loc1_:SetProperty = new SetProperty();
  2307.          this._RuntimeInstaller_SetProperty17 = _loc1_;
  2308.          _loc1_.name = "stageHeight";
  2309.          _loc1_.value = 200;
  2310.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty17",this._RuntimeInstaller_SetProperty17);
  2311.          return _loc1_;
  2312.       }
  2313.       
  2314.       [Bindable(event="propertyChange")]
  2315.       public function get eula() : EULA
  2316.       {
  2317.          return this._3124773eula;
  2318.       }
  2319.       
  2320.       private function _RuntimeInstaller_GridItem2_c() : GridItem
  2321.       {
  2322.          var _loc1_:GridItem = new GridItem();
  2323.          if(!_loc1_.document)
  2324.          {
  2325.             _loc1_.document = this;
  2326.          }
  2327.          _loc1_.addChild(this._RuntimeInstaller_Label1_i());
  2328.          return _loc1_;
  2329.       }
  2330.       
  2331.       public function __progressCancel_click(param1:MouseEvent) : void
  2332.       {
  2333.          this.onCancel();
  2334.       }
  2335.       
  2336.       [Bindable(event="propertyChange")]
  2337.       private function get airPackageIcon() : Class
  2338.       {
  2339.          return this._1869917749airPackageIcon;
  2340.       }
  2341.       
  2342.       private function set redSecurityIcon(param1:Class) : void
  2343.       {
  2344.          var _loc2_:Object = null;
  2345.          _loc2_ = this._2057878774redSecurityIcon;
  2346.          if(_loc2_ !== param1)
  2347.          {
  2348.             this._2057878774redSecurityIcon = param1;
  2349.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redSecurityIcon",_loc2_,param1));
  2350.          }
  2351.       }
  2352.       
  2353.       private function _RuntimeInstaller_State4_c() : State
  2354.       {
  2355.          var _loc1_:State = new State();
  2356.          _loc1_.name = "PatchNewer";
  2357.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty6_i(),this._RuntimeInstaller_AddChild3_i()];
  2358.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State4_enterState);
  2359.          return _loc1_;
  2360.       }
  2361.       
  2362.       private function _RuntimeInstaller_LocalizedText10_c() : LocalizedText
  2363.       {
  2364.          var _loc1_:LocalizedText = new LocalizedText();
  2365.          _loc1_.percentWidth = 100;
  2366.          _loc1_.condenseWhite = true;
  2367.          _loc1_.resourceName = "msgConfirmInstallUpdate";
  2368.          if(!_loc1_.document)
  2369.          {
  2370.             _loc1_.document = this;
  2371.          }
  2372.          return _loc1_;
  2373.       }
  2374.       
  2375.       private function _RuntimeInstaller_VBox4_i() : VBox
  2376.       {
  2377.          var _loc1_:VBox = new VBox();
  2378.          this._RuntimeInstaller_VBox4 = _loc1_;
  2379.          _loc1_.styleName = "contentBox";
  2380.          _loc1_.percentWidth = 100;
  2381.          _loc1_.percentHeight = 100;
  2382.          _loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox4_creationComplete);
  2383.          _loc1_.id = "_RuntimeInstaller_VBox4";
  2384.          BindingManager.executeBindings(this,"_RuntimeInstaller_VBox4",this._RuntimeInstaller_VBox4);
  2385.          if(!_loc1_.document)
  2386.          {
  2387.             _loc1_.document = this;
  2388.          }
  2389.          _loc1_.addChild(this._RuntimeInstaller_LocalizedLabel2_c());
  2390.          _loc1_.addChild(this._RuntimeInstaller_LocalizedText3_c());
  2391.          _loc1_.addChild(this._RuntimeInstaller_Spacer2_c());
  2392.          _loc1_.addChild(this._RuntimeInstaller_Grid1_c());
  2393.          _loc1_.addChild(this._RuntimeInstaller_Spacer3_c());
  2394.          _loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox2_c());
  2395.          return _loc1_;
  2396.       }
  2397.       
  2398.       private function _RuntimeInstaller_LocalizedButton6_i() : LocalizedButton
  2399.       {
  2400.          var _loc1_:LocalizedButton = new LocalizedButton();
  2401.          this.patchOlderClose = _loc1_;
  2402.          _loc1_.styleName = "defaultButton";
  2403.          _loc1_.resourceName = "btnClose";
  2404.          _loc1_.addEventListener("click",this.__patchOlderClose_click);
  2405.          _loc1_.id = "patchOlderClose";
  2406.          if(!_loc1_.document)
  2407.          {
  2408.             _loc1_.document = this;
  2409.          }
  2410.          return _loc1_;
  2411.       }
  2412.       
  2413.       private function _RuntimeInstaller_State13_c() : State
  2414.       {
  2415.          var _loc1_:State = new State();
  2416.          _loc1_.name = "InstallUpdatesNoApps";
  2417.          _loc1_.basedOn = "InstallUpdates";
  2418.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty17_i(),this._RuntimeInstaller_RemoveChild2_i(),this._RuntimeInstaller_RemoveChild3_i(),this._RuntimeInstaller_SetProperty18_i(),this._RuntimeInstaller_SetProperty19_i(),this._RuntimeInstaller_SetStyle1_i(),this._RuntimeInstaller_SetStyle2_i()];
  2419.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State13_enterState);
  2420.          return _loc1_;
  2421.       }
  2422.       
  2423.       public function set patchLater(param1:LocalizedButton) : void
  2424.       {
  2425.          var _loc2_:Object = null;
  2426.          _loc2_ = this._1257611044patchLater;
  2427.          if(_loc2_ !== param1)
  2428.          {
  2429.             this._1257611044patchLater = param1;
  2430.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchLater",_loc2_,param1));
  2431.          }
  2432.       }
  2433.       
  2434.       private function _RuntimeInstaller_LocalizedButton13_i() : LocalizedButton
  2435.       {
  2436.          var _loc1_:LocalizedButton = new LocalizedButton();
  2437.          this.errorClose = _loc1_;
  2438.          _loc1_.styleName = "defaultButton";
  2439.          _loc1_.resourceName = "btnClose";
  2440.          _loc1_.addEventListener("click",this.__errorClose_click);
  2441.          _loc1_.id = "errorClose";
  2442.          if(!_loc1_.document)
  2443.          {
  2444.             _loc1_.document = this;
  2445.          }
  2446.          return _loc1_;
  2447.       }
  2448.       
  2449.       private function onApplicationComplete() : void
  2450.       {
  2451.          var h1Style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".h1");
  2452.          if(h1Style)
  2453.          {
  2454.             h1Style.setStyle("fontWeight",Capabilities.os.indexOf("Mac") >= 0 ? "normal" : "bold");
  2455.          }
  2456.          this.record = new ObjectProxy(getDefinitionByName("Object"));
  2457.          this.record.uiLanguages = ["en_US","de","es","fr","it","ja","ko","pt","ru","zh_Hans","zh_Hant","cs","nl","pl","sv","tr"];
  2458.          stage.nativeWindow.addEventListener(Event.CLOSING,this.onClosing);
  2459.          stage.addEventListener(KeyboardEvent.KEY_DOWN,this.onKeyDown,true);
  2460.          this.sharedEvents = Application.application.root.loaderInfo.sharedEvents;
  2461.          this.sharedEvents.addEventListener("init",function(param1:Event):void
  2462.          {
  2463.             var _loc2_:IEventDispatcher = null;
  2464.             record = new ObjectProxy(getDefinitionByName("Object"));
  2465.             Application.application.executeBindings(true);
  2466.             switch(record.type)
  2467.             {
  2468.                case "new":
  2469.                case "additionalNewest":
  2470.                case "replaceSame":
  2471.                   currentState = "EULA";
  2472.                   break;
  2473.                case "additionalOlder":
  2474.                   currentState = "AdditionalVersion";
  2475.                   break;
  2476.                case "patchNewer":
  2477.                case "patchNewerNewest":
  2478.                   currentState = "PatchNewer";
  2479.                   break;
  2480.                case "patchOlder":
  2481.                   currentState = "PatchOlder";
  2482.                   break;
  2483.                case "patchSame":
  2484.                   currentState = "PatchSame";
  2485.                   break;
  2486.                case "uninstall":
  2487.                   installedApps = record.installedApps;
  2488.                   progressResourceName = "progressUninstalling";
  2489.                   completeLabelResourceName = "titleUninstCompleted";
  2490.                   completeTextResourceName = "msgUninstallSuccessful";
  2491.                   if(installedApps != null && installedApps.length > 0)
  2492.                   {
  2493.                      currentState = "Uninstall";
  2494.                   }
  2495.                   else
  2496.                   {
  2497.                      currentState = "UninstallNoApps";
  2498.                   }
  2499.                   break;
  2500.                case "installUpdates":
  2501.                   currentState = "InstallUpdatesNoApps";
  2502.                   stage.nativeWindow.title = locManager.getString("titleAirUpdater");
  2503.                   break;
  2504.                case "eula":
  2505.                   if(record.isNAI)
  2506.                   {
  2507.                      _loc2_ = StyleManager.loadStyleDeclarations("stylesNative.swf");
  2508.                      _loc2_.addEventListener(StyleEvent.ERROR,onEULAStyleError);
  2509.                      _loc2_.addEventListener(StyleEvent.COMPLETE,onEULAStyleLoaded);
  2510.                   }
  2511.                   else
  2512.                   {
  2513.                      onEULAStyleLoaded();
  2514.                   }
  2515.                   break;
  2516.                default:
  2517.                   currentState = "Error";
  2518.                   errorText.text = locManager.getString("msgInternalLogicError");
  2519.             }
  2520.          });
  2521.          this.iconImage.visible = true;
  2522.          this.sharedEvents.addEventListener(Event.COMPLETE,function(param1:Event):void
  2523.          {
  2524.             switch(record.type)
  2525.             {
  2526.                case "uninstall":
  2527.                   asyncCall(onFinish);
  2528.                   break;
  2529.                default:
  2530.                   currentState = "Complete";
  2531.             }
  2532.          });
  2533.          this.sharedEvents.addEventListener(Event.CANCEL,function(param1:Event):void
  2534.          {
  2535.             currentState = "Error";
  2536.             errorText.text = locManager.getString("msgInstallCanceled");
  2537.          });
  2538.          this.sharedEvents.addEventListener(ProgressEvent.PROGRESS,function(param1:ProgressEvent):void
  2539.          {
  2540.             progressBar.setProgress(param1.bytesLoaded,param1.bytesTotal);
  2541.             updateProgressAccessibility(progressBar);
  2542.          });
  2543.          this.sharedEvents.addEventListener(ErrorEvent.ERROR,this.onError);
  2544.          this.sharedEvents.addEventListener(IOErrorEvent.IO_ERROR,this.onError);
  2545.          this.sharedEvents.addEventListener("dataChange",this.onDataChange);
  2546.          this.sharedEvents.addEventListener("languagesSorted",function(param1:Event):void
  2547.          {
  2548.             record.uiLanguages.push("en_US");
  2549.             ResourceManager.getInstance().localeChain = record.uiLanguages;
  2550.             updateStylesForLocale();
  2551.             stage.nativeWindow.title = locManager.getString("titleAirSetup");
  2552.             stage.nativeWindow.width = int(locManager.getString("rtInstMainWndWidth"));
  2553.             progressResourceName = "progressInstalling";
  2554.             completeLabelResourceName = "titleInstCompleted";
  2555.             completeTextResourceName = "msgInstallSuccessful";
  2556.          });
  2557.          this.sharedEvents.dispatchEvent(new Event("installui.init"));
  2558.       }
  2559.       
  2560.       private function _RuntimeInstaller_VBox11_i() : VBox
  2561.       {
  2562.          var _loc1_:VBox = new VBox();
  2563.          this._RuntimeInstaller_VBox11 = _loc1_;
  2564.          _loc1_.styleName = "contentBox";
  2565.          _loc1_.percentWidth = 100;
  2566.          _loc1_.percentHeight = 100;
  2567.          _loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox11_creationComplete);
  2568.          _loc1_.id = "_RuntimeInstaller_VBox11";
  2569.          BindingManager.executeBindings(this,"_RuntimeInstaller_VBox11",this._RuntimeInstaller_VBox11);
  2570.          if(!_loc1_.document)
  2571.          {
  2572.             _loc1_.document = this;
  2573.          }
  2574.          _loc1_.addChild(this._RuntimeInstaller_LocalizedLabel10_c());
  2575.          _loc1_.addChild(this._RuntimeInstaller_Spacer15_c());
  2576.          _loc1_.addChild(this._RuntimeInstaller_TextArea2_i());
  2577.          _loc1_.addChild(this._RuntimeInstaller_Spacer16_c());
  2578.          _loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox9_c());
  2579.          return _loc1_;
  2580.       }
  2581.       
  2582.       [Bindable(event="propertyChange")]
  2583.       public function get updateSpacer() : Spacer
  2584.       {
  2585.          return this._944448939updateSpacer;
  2586.       }
  2587.       
  2588.       private function _RuntimeInstaller_SetProperty16_i() : SetProperty
  2589.       {
  2590.          var _loc1_:SetProperty = new SetProperty();
  2591.          this._RuntimeInstaller_SetProperty16 = _loc1_;
  2592.          _loc1_.name = "stageHeight";
  2593.          _loc1_.value = 240;
  2594.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty16",this._RuntimeInstaller_SetProperty16);
  2595.          return _loc1_;
  2596.       }
  2597.       
  2598.       public function set completeFinish(param1:LocalizedButton) : void
  2599.       {
  2600.          var _loc2_:Object = null;
  2601.          _loc2_ = this._713956140completeFinish;
  2602.          if(_loc2_ !== param1)
  2603.          {
  2604.             this._713956140completeFinish = param1;
  2605.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"completeFinish",_loc2_,param1));
  2606.          }
  2607.       }
  2608.       
  2609.       mx_internal function _RuntimeInstaller_StylesInit() : void
  2610.       {
  2611.          var style:CSSStyleDeclaration = null;
  2612.          var effects:Array = null;
  2613.          if(mx_internal::_RuntimeInstaller_StylesInit_done)
  2614.          {
  2615.             return;
  2616.          }
  2617.          mx_internal::_RuntimeInstaller_StylesInit_done = true;
  2618.          style = StyleManager.getStyleDeclaration(".topContentBox");
  2619.          if(!style)
  2620.          {
  2621.             style = new CSSStyleDeclaration();
  2622.             StyleManager.setStyleDeclaration(".topContentBox",style,false);
  2623.          }
  2624.          if(style.factory == null)
  2625.          {
  2626.             style.factory = function():void
  2627.             {
  2628.                this.verticalGap = 0;
  2629.             };
  2630.          }
  2631.          style = StyleManager.getStyleDeclaration("List");
  2632.          if(!style)
  2633.          {
  2634.             style = new CSSStyleDeclaration();
  2635.             StyleManager.setStyleDeclaration("List",style,false);
  2636.          }
  2637.          if(style.factory == null)
  2638.          {
  2639.             style.factory = function():void
  2640.             {
  2641.                this.paddingTop = 4;
  2642.                this.borderColor = 2236962;
  2643.                this.paddingLeft = 4;
  2644.                this.paddingRight = 4;
  2645.                this.paddingBottom = 4;
  2646.                this.backgroundColor = 3750201;
  2647.             };
  2648.          }
  2649.          style = StyleManager.getStyleDeclaration("ScrollBar");
  2650.          if(!style)
  2651.          {
  2652.             style = new CSSStyleDeclaration();
  2653.             StyleManager.setStyleDeclaration("ScrollBar",style,false);
  2654.          }
  2655.          if(style.factory == null)
  2656.          {
  2657.             style.factory = function():void
  2658.             {
  2659.                this.downArrowOverSkin = SimpleScrollArrowSkin;
  2660.                this.scrollThumbIcon = _embed_css__assets_scroll_thumb_png_1502202382;
  2661.                this.arrowOverFillColor = 5460819;
  2662.                this.borderStyle = "solid";
  2663.                this.thumbOverFillColor = 5460819;
  2664.                this.arrowFillColor = 4408131;
  2665.                this.thumbUpSkin = SimpleScrollThumbSkin;
  2666.                this.downArrowUpSkin = SimpleScrollArrowSkin;
  2667.                this.trackColors = [2236962,2236962];
  2668.                this.upArrowDisabledSkin = SimpleScrollArrowSkin;
  2669.                this.highlightAlphas = [0,0];
  2670.                this.thumbFillColor = 4408131;
  2671.                this.upArrowUpSkin = SimpleScrollArrowSkin;
  2672.                this.trackSkin = SimpleScrollTrackSkin;
  2673.                this.arrowBorderColor = 4737096;
  2674.                this.arrowIconColor = 2236962;
  2675.                this.borderColor = 2236962;
  2676.                this.thumbDownSkin = SimpleScrollThumbSkin;
  2677.                this.upArrowOverSkin = SimpleScrollArrowSkin;
  2678.                this.thumbOverSkin = SimpleScrollThumbSkin;
  2679.                this.themeColor = 5460819;
  2680.                this.downArrowDownSkin = SimpleScrollArrowSkin;
  2681.                this.downArrowDisabledSkin = SimpleScrollArrowSkin;
  2682.                this.thumbBorderColor = 4737096;
  2683.                this.upArrowDownSkin = SimpleScrollArrowSkin;
  2684.             };
  2685.          }
  2686.          style = StyleManager.getStyleDeclaration(".eulaText");
  2687.          if(!style)
  2688.          {
  2689.             style = new CSSStyleDeclaration();
  2690.             StyleManager.setStyleDeclaration(".eulaText",style,false);
  2691.          }
  2692.          if(style.factory == null)
  2693.          {
  2694.             style.factory = function():void
  2695.             {
  2696.                this.borderColor = 2236962;
  2697.                this.paddingLeft = 6;
  2698.                this.paddingRight = 6;
  2699.                this.leading = 0;
  2700.                this.backgroundColor = 3750201;
  2701.             };
  2702.          }
  2703.          style = StyleManager.getStyleDeclaration("LinkButton");
  2704.          if(!style)
  2705.          {
  2706.             style = new CSSStyleDeclaration();
  2707.             StyleManager.setStyleDeclaration("LinkButton",style,false);
  2708.          }
  2709.          if(style.factory == null)
  2710.          {
  2711.             style.factory = function():void
  2712.             {
  2713.                this.textAlign = "left";
  2714.                this.fillAlphas = [0,0,0,0];
  2715.                this.selectedDownSkin = ProgrammaticSkin;
  2716.                this.selectedUpSkin = ProgrammaticSkin;
  2717.                this.selectedOverSkin = ProgrammaticSkin;
  2718.                this.upSkin = ProgrammaticSkin;
  2719.                this.textIndent = 0;
  2720.                this.fontSize = 10;
  2721.                this.backgroundAlpha = 0;
  2722.                this.downSkin = ProgrammaticSkin;
  2723.                this.overSkin = ProgrammaticSkin;
  2724.             };
  2725.          }
  2726.          style = StyleManager.getStyleDeclaration("Application");
  2727.          if(!style)
  2728.          {
  2729.             style = new CSSStyleDeclaration();
  2730.             StyleManager.setStyleDeclaration("Application",style,false);
  2731.          }
  2732.          if(style.factory == null)
  2733.          {
  2734.             style.factory = function():void
  2735.             {
  2736.                this.paddingLeft = 15;
  2737.                this.backgroundGradientColors = [2697513,2697513];
  2738.                this.horizontalAlign = "left";
  2739.                this.backgroundAlpha = 1;
  2740.                this.fontSize = 10;
  2741.                this.paddingBottom = 20;
  2742.                this.themeColor = 4539717;
  2743.                this.fontFamily = "Lucida Grande,Verdana,Arial,_sans";
  2744.                this.paddingTop = 15;
  2745.                this.textAlign = "left";
  2746.                this.color = 16777215;
  2747.                this.paddingRight = 15;
  2748.                this.horizontalGap = 10;
  2749.                this.backgroundColor = 2697513;
  2750.             };
  2751.          }
  2752.          style = StyleManager.getStyleDeclaration("ProgressBar");
  2753.          if(!style)
  2754.          {
  2755.             style = new CSSStyleDeclaration();
  2756.             StyleManager.setStyleDeclaration("ProgressBar",style,false);
  2757.          }
  2758.          if(style.factory == null)
  2759.          {
  2760.             style.factory = function():void
  2761.             {
  2762.                this.trackSkin = _embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressTrackSkin_748526063;
  2763.                this.barSkin = _embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressBarSkin_138477529;
  2764.             };
  2765.          }
  2766.          style = StyleManager.getStyleDeclaration("CheckBox");
  2767.          if(!style)
  2768.          {
  2769.             style = new CSSStyleDeclaration();
  2770.             StyleManager.setStyleDeclaration("CheckBox",style,false);
  2771.          }
  2772.          if(style.factory == null)
  2773.          {
  2774.             style.factory = function():void
  2775.             {
  2776.                this.borderColor = 6250335;
  2777.                this.paddingLeft = 4;
  2778.                this.color = 16777215;
  2779.                this.fillColors = [15527148,12895428,16777215,15658734];
  2780.                this.textRollOverColor = 16777215;
  2781.                this.horizontalGap = 5;
  2782.                this.themeColor = 10066329;
  2783.                this.fontFamily = "Lucida Grande,Verdana,Arial,_sans";
  2784.                this.textSelectedColor = 16777215;
  2785.             };
  2786.          }
  2787.          style = StyleManager.getStyleDeclaration("Button");
  2788.          if(!style)
  2789.          {
  2790.             style = new CSSStyleDeclaration();
  2791.             StyleManager.setStyleDeclaration("Button",style,false);
  2792.          }
  2793.          if(style.factory == null)
  2794.          {
  2795.             style.factory = function():void
  2796.             {
  2797.                this.paddingLeft = 12;
  2798.                this.fontWeight = "normal";
  2799.                this.textRollOverColor = 16777215;
  2800.                this.upSkin = _embed_css_assets_buttons_Button_upSkin_png_1816313042;
  2801.                this.fontSize = 14;
  2802.                this.overSkin = _embed_css_assets_buttons_Button_overSkin_png_1211548296;
  2803.                this.paddingBottom = 5;
  2804.                this.fontFamily = "Myriad Pro";
  2805.                this.paddingTop = 6;
  2806.                this.paddingRight = 12;
  2807.                this.downSkin = _embed_css_assets_buttons_Button_downSkin_png_1764482764;
  2808.                this.disabledSkin = _embed_css_assets_buttons_Button_DisabledSkin_png_1526501160;
  2809.                this.textSelectedColor = 16777215;
  2810.             };
  2811.          }
  2812.          style = StyleManager.getStyleDeclaration(".myDropDown");
  2813.          if(!style)
  2814.          {
  2815.             style = new CSSStyleDeclaration();
  2816.             StyleManager.setStyleDeclaration(".myDropDown",style,false);
  2817.          }
  2818.          if(style.factory == null)
  2819.          {
  2820.             style.factory = function():void
  2821.             {
  2822.                this.color = 32768;
  2823.                this.backgroundAlpha = 0;
  2824.             };
  2825.          }
  2826.          style = StyleManager.getStyleDeclaration(".h2");
  2827.          if(!style)
  2828.          {
  2829.             style = new CSSStyleDeclaration();
  2830.             StyleManager.setStyleDeclaration(".h2",style,false);
  2831.          }
  2832.          if(style.factory == null)
  2833.          {
  2834.             style.factory = function():void
  2835.             {
  2836.                this.leading = 4;
  2837.                this.fontSize = 12;
  2838.                this.fontFamily = "Myriad Pro Bold";
  2839.             };
  2840.          }
  2841.          style = StyleManager.getStyleDeclaration("TextInput");
  2842.          if(!style)
  2843.          {
  2844.             style = new CSSStyleDeclaration();
  2845.             StyleManager.setStyleDeclaration("TextInput",style,false);
  2846.          }
  2847.          if(style.factory == null)
  2848.          {
  2849.             style.factory = function():void
  2850.             {
  2851.                this.borderColor = 2236962;
  2852.                this.outerBorderColor = 4737096;
  2853.                this.borderSkin = SimpleTwoColorBorder;
  2854.                this.borderThickness = 2;
  2855.                this.borderStyle = "solid";
  2856.                this.backgroundColor = 3750201;
  2857.             };
  2858.          }
  2859.          style = StyleManager.getStyleDeclaration("HRule");
  2860.          if(!style)
  2861.          {
  2862.             style = new CSSStyleDeclaration();
  2863.             StyleManager.setStyleDeclaration("HRule",style,false);
  2864.          }
  2865.          if(style.factory == null)
  2866.          {
  2867.             style.factory = function():void
  2868.             {
  2869.                this.strokeColor = 3750201;
  2870.                this.shadowColor = 2236962;
  2871.                this.borderStyle = "solid";
  2872.             };
  2873.          }
  2874.          style = StyleManager.getStyleDeclaration("Form");
  2875.          if(!style)
  2876.          {
  2877.             style = new CSSStyleDeclaration();
  2878.             StyleManager.setStyleDeclaration("Form",style,false);
  2879.          }
  2880.          if(style.factory == null)
  2881.          {
  2882.             style.factory = function():void
  2883.             {
  2884.                this.paddingLeft = 0;
  2885.             };
  2886.          }
  2887.          style = StyleManager.getStyleDeclaration(".contentBox");
  2888.          if(!style)
  2889.          {
  2890.             style = new CSSStyleDeclaration();
  2891.             StyleManager.setStyleDeclaration(".contentBox",style,false);
  2892.          }
  2893.          if(style.factory == null)
  2894.          {
  2895.             style.factory = function():void
  2896.             {
  2897.                this.paddingTop = 10;
  2898.                this.verticalGap = 0;
  2899.             };
  2900.          }
  2901.          style = StyleManager.getStyleDeclaration("FormItem");
  2902.          if(!style)
  2903.          {
  2904.             style = new CSSStyleDeclaration();
  2905.             StyleManager.setStyleDeclaration("FormItem",style,false);
  2906.          }
  2907.          if(style.factory == null)
  2908.          {
  2909.             style.factory = function():void
  2910.             {
  2911.                this.textAlign = "left";
  2912.             };
  2913.          }
  2914.          style = StyleManager.getStyleDeclaration(".buttonRow");
  2915.          if(!style)
  2916.          {
  2917.             style = new CSSStyleDeclaration();
  2918.             StyleManager.setStyleDeclaration(".buttonRow",style,false);
  2919.          }
  2920.          if(style.factory == null)
  2921.          {
  2922.             style.factory = function():void
  2923.             {
  2924.                this.horizontalAlign = "left";
  2925.                this.horizontalGap = 12;
  2926.             };
  2927.          }
  2928.          style = StyleManager.getStyleDeclaration("ComboBox");
  2929.          if(!style)
  2930.          {
  2931.             style = new CSSStyleDeclaration();
  2932.             StyleManager.setStyleDeclaration("ComboBox",style,false);
  2933.          }
  2934.          if(style.factory == null)
  2935.          {
  2936.             style.factory = function():void
  2937.             {
  2938.                this.color = 16777215;
  2939.                this.textRollOverColor = 16777215;
  2940.                this.backgroundAlpha = 0;
  2941.                this.fontSize = 9;
  2942.                this.dropdownStyleName = "myDropDown";
  2943.             };
  2944.          }
  2945.          style = StyleManager.getStyleDeclaration(".h1");
  2946.          if(!style)
  2947.          {
  2948.             style = new CSSStyleDeclaration();
  2949.             StyleManager.setStyleDeclaration(".h1",style,false);
  2950.          }
  2951.          if(style.factory == null)
  2952.          {
  2953.             style.factory = function():void
  2954.             {
  2955.                this.fontSize = 18;
  2956.                this.fontFamily = "Myriad Pro";
  2957.             };
  2958.          }
  2959.          style = StyleManager.getStyleDeclaration(".formItemText");
  2960.          if(!style)
  2961.          {
  2962.             style = new CSSStyleDeclaration();
  2963.             StyleManager.setStyleDeclaration(".formItemText",style,false);
  2964.          }
  2965.          if(style.factory == null)
  2966.          {
  2967.             style.factory = function():void
  2968.             {
  2969.                this.fontWeight = "bold";
  2970.             };
  2971.          }
  2972.          style = StyleManager.getStyleDeclaration("HScrollBar");
  2973.          if(!style)
  2974.          {
  2975.             style = new CSSStyleDeclaration();
  2976.             StyleManager.setStyleDeclaration("HScrollBar",style,false);
  2977.          }
  2978.          if(style.factory == null)
  2979.          {
  2980.             style.factory = function():void
  2981.             {
  2982.                this.downArrowOverSkin = SimpleScrollArrowSkin;
  2983.                this.scrollThumbIcon = _embed_css__assets_scroll_thumb_png_1502202382;
  2984.                this.arrowOverFillColor = 5460819;
  2985.                this.borderStyle = "solid";
  2986.                this.thumbOverFillColor = 5460819;
  2987.                this.arrowFillColor = 4408131;
  2988.                this.thumbUpSkin = SimpleScrollThumbSkin;
  2989.                this.downArrowUpSkin = SimpleScrollArrowSkin;
  2990.                this.trackColors = [2236962,2236962];
  2991.                this.upArrowDisabledSkin = SimpleScrollArrowSkin;
  2992.                this.highlightAlphas = [0,0];
  2993.                this.thumbFillColor = 4408131;
  2994.                this.upArrowUpSkin = SimpleScrollArrowSkin;
  2995.                this.trackSkin = SimpleScrollTrackSkin;
  2996.                this.arrowBorderColor = 4737096;
  2997.                this.arrowIconColor = 2236962;
  2998.                this.borderColor = 2236962;
  2999.                this.thumbDownSkin = SimpleScrollThumbSkin;
  3000.                this.upArrowOverSkin = SimpleScrollArrowSkin;
  3001.                this.thumbOverSkin = SimpleScrollThumbSkin;
  3002.                this.themeColor = 5460819;
  3003.                this.downArrowDownSkin = SimpleScrollArrowSkin;
  3004.                this.downArrowDisabledSkin = SimpleScrollArrowSkin;
  3005.                this.thumbBorderColor = 4737096;
  3006.                this.upArrowDownSkin = SimpleScrollArrowSkin;
  3007.             };
  3008.          }
  3009.          style = StyleManager.getStyleDeclaration("VScrollBar");
  3010.          if(!style)
  3011.          {
  3012.             style = new CSSStyleDeclaration();
  3013.             StyleManager.setStyleDeclaration("VScrollBar",style,false);
  3014.          }
  3015.          if(style.factory == null)
  3016.          {
  3017.             style.factory = function():void
  3018.             {
  3019.                this.downArrowOverSkin = SimpleScrollArrowSkin;
  3020.                this.scrollThumbIcon = _embed_css__assets_scroll_thumb_png_1502202382;
  3021.                this.arrowOverFillColor = 5460819;
  3022.                this.borderStyle = "solid";
  3023.                this.thumbOverFillColor = 5460819;
  3024.                this.arrowFillColor = 4408131;
  3025.                this.thumbUpSkin = SimpleScrollThumbSkin;
  3026.                this.downArrowUpSkin = SimpleScrollArrowSkin;
  3027.                this.trackColors = [2236962,2236962];
  3028.                this.upArrowDisabledSkin = SimpleScrollArrowSkin;
  3029.                this.highlightAlphas = [0,0];
  3030.                this.thumbFillColor = 4408131;
  3031.                this.upArrowUpSkin = SimpleScrollArrowSkin;
  3032.                this.trackSkin = SimpleScrollTrackSkin;
  3033.                this.arrowBorderColor = 4737096;
  3034.                this.arrowIconColor = 2236962;
  3035.                this.borderColor = 2236962;
  3036.                this.thumbDownSkin = SimpleScrollThumbSkin;
  3037.                this.upArrowOverSkin = SimpleScrollArrowSkin;
  3038.                this.thumbOverSkin = SimpleScrollThumbSkin;
  3039.                this.themeColor = 5460819;
  3040.                this.downArrowDownSkin = SimpleScrollArrowSkin;
  3041.                this.downArrowDisabledSkin = SimpleScrollArrowSkin;
  3042.                this.thumbBorderColor = 4737096;
  3043.                this.upArrowDownSkin = SimpleScrollArrowSkin;
  3044.             };
  3045.          }
  3046.          style = StyleManager.getStyleDeclaration(".errorNumberText");
  3047.          if(!style)
  3048.          {
  3049.             style = new CSSStyleDeclaration();
  3050.             StyleManager.setStyleDeclaration(".errorNumberText",style,false);
  3051.          }
  3052.          if(style.factory == null)
  3053.          {
  3054.             style.factory = function():void
  3055.             {
  3056.                this.textAlign = "right";
  3057.                this.color = 13421772;
  3058.             };
  3059.          }
  3060.          style = StyleManager.getStyleDeclaration(".textBorderWrapper");
  3061.          if(!style)
  3062.          {
  3063.             style = new CSSStyleDeclaration();
  3064.             StyleManager.setStyleDeclaration(".textBorderWrapper",style,false);
  3065.          }
  3066.          if(style.factory == null)
  3067.          {
  3068.             style.factory = function():void
  3069.             {
  3070.                this.borderColor = 5460819;
  3071.                this.borderStyle = "solid";
  3072.             };
  3073.          }
  3074.          style = StyleManager.getStyleDeclaration(".defaultButton");
  3075.          if(!style)
  3076.          {
  3077.             style = new CSSStyleDeclaration();
  3078.             StyleManager.setStyleDeclaration(".defaultButton",style,false);
  3079.          }
  3080.          if(style.factory == null)
  3081.          {
  3082.             style.factory = function():void
  3083.             {
  3084.                this.upSkin = _embed_css_assets_buttons_Button_Default_upSkin_png_929957838;
  3085.                this.overSkin = _embed_css_assets_buttons_Button_Default_overSkin_png_257358164;
  3086.                this.downSkin = _embed_css_assets_buttons_Button_Default_downSkin_png_1979368144;
  3087.                this.disabledSkin = _embed_css_assets_buttons_Button_Default_DisabledSkin_png_1697721172;
  3088.             };
  3089.          }
  3090.          style = StyleManager.getStyleDeclaration("EULA");
  3091.          if(!style)
  3092.          {
  3093.             style = new CSSStyleDeclaration();
  3094.             StyleManager.setStyleDeclaration("EULA",style,false);
  3095.          }
  3096.          if(style.factory == null)
  3097.          {
  3098.             style.factory = function():void
  3099.             {
  3100.                this.paddingTop = 12;
  3101.                this.verticalGap = 0;
  3102.             };
  3103.          }
  3104.          StyleManager.mx_internal::initProtoChainRoots();
  3105.       }
  3106.       
  3107.       private function onPatchLater() : void
  3108.       {
  3109.          this.sharedEvents.dispatchEvent(new Event("installui.patchLater"));
  3110.       }
  3111.       
  3112.       [Bindable(event="propertyChange")]
  3113.       public function get updateAppsRunning() : TextArea
  3114.       {
  3115.          return this._1318708836updateAppsRunning;
  3116.       }
  3117.       
  3118.       private function set redBlockedIcon(param1:Class) : void
  3119.       {
  3120.          var _loc2_:Object = null;
  3121.          _loc2_ = this._1707366196redBlockedIcon;
  3122.          if(_loc2_ !== param1)
  3123.          {
  3124.             this._1707366196redBlockedIcon = param1;
  3125.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redBlockedIcon",_loc2_,param1));
  3126.          }
  3127.       }
  3128.       
  3129.       private function _RuntimeInstaller_GridItem1_c() : GridItem
  3130.       {
  3131.          var _loc1_:GridItem = new GridItem();
  3132.          if(!_loc1_.document)
  3133.          {
  3134.             _loc1_.document = this;
  3135.          }
  3136.          _loc1_.addChild(this._RuntimeInstaller_LocalizedLabel3_c());
  3137.          return _loc1_;
  3138.       }
  3139.       
  3140.       [Bindable(event="propertyChange")]
  3141.       private function get yellowSecurityIcon() : Class
  3142.       {
  3143.          return this._703057299yellowSecurityIcon;
  3144.       }
  3145.       
  3146.       private function _RuntimeInstaller_State3_c() : State
  3147.       {
  3148.          var _loc1_:State = new State();
  3149.          _loc1_.name = "AdditionalVersion";
  3150.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty5_i(),this._RuntimeInstaller_AddChild2_i()];
  3151.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State3_enterState);
  3152.          return _loc1_;
  3153.       }
  3154.       
  3155.       private function _RuntimeInstaller_VBox3_i() : VBox
  3156.       {
  3157.          var _loc1_:VBox = new VBox();
  3158.          this._RuntimeInstaller_VBox3 = _loc1_;
  3159.          _loc1_.styleName = "contentBox";
  3160.          _loc1_.percentWidth = 100;
  3161.          _loc1_.percentHeight = 100;
  3162.          _loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox3_creationComplete);
  3163.          _loc1_.id = "_RuntimeInstaller_VBox3";
  3164.          BindingManager.executeBindings(this,"_RuntimeInstaller_VBox3",this._RuntimeInstaller_VBox3);
  3165.          if(!_loc1_.document)
  3166.          {
  3167.             _loc1_.document = this;
  3168.          }
  3169.          _loc1_.addChild(this._RuntimeInstaller_LocalizedLabel1_c());
  3170.          _loc1_.addChild(this._RuntimeInstaller_LocalizedText2_i());
  3171.          _loc1_.addChild(this._RuntimeInstaller_Spacer1_c());
  3172.          _loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox1_c());
  3173.          return _loc1_;
  3174.       }
  3175.       
  3176.       private function onEULAStyleError(param1:Event) : void
  3177.       {
  3178.          this.sharedEvents.dispatchEvent(new Event("installui.stylefailed"));
  3179.       }
  3180.       
  3181.       private function _RuntimeInstaller_LocalizedButton5_i() : LocalizedButton
  3182.       {
  3183.          var _loc1_:LocalizedButton = new LocalizedButton();
  3184.          this.patchSameClose = _loc1_;
  3185.          _loc1_.styleName = "defaultButton";
  3186.          _loc1_.resourceName = "btnClose";
  3187.          _loc1_.addEventListener("click",this.__patchSameClose_click);
  3188.          _loc1_.id = "patchSameClose";
  3189.          if(!_loc1_.document)
  3190.          {
  3191.             _loc1_.document = this;
  3192.          }
  3193.          return _loc1_;
  3194.       }
  3195.       
  3196.       private function _RuntimeInstaller_State12_c() : State
  3197.       {
  3198.          var _loc1_:State = new State();
  3199.          _loc1_.name = "InstallUpdates";
  3200.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty16_i(),this._RuntimeInstaller_AddChild10_i()];
  3201.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State12_enterState);
  3202.          return _loc1_;
  3203.       }
  3204.       
  3205.       private function _RuntimeInstaller_LocalizedButton12_i() : LocalizedButton
  3206.       {
  3207.          var _loc1_:LocalizedButton = new LocalizedButton();
  3208.          this.patchLater = _loc1_;
  3209.          _loc1_.styleName = "defaultButton";
  3210.          _loc1_.resourceName = "btnUpdateLater";
  3211.          _loc1_.addEventListener("click",this.__patchLater_click);
  3212.          _loc1_.id = "patchLater";
  3213.          if(!_loc1_.document)
  3214.          {
  3215.             _loc1_.document = this;
  3216.          }
  3217.          return _loc1_;
  3218.       }
  3219.       
  3220.       [Bindable(event="propertyChange")]
  3221.       public function get progressResourceName() : String
  3222.       {
  3223.          return this._287913606progressResourceName;
  3224.       }
  3225.       
  3226.       private function _RuntimeInstaller_SetProperty15_i() : SetProperty
  3227.       {
  3228.          var _loc1_:SetProperty = new SetProperty();
  3229.          this._RuntimeInstaller_SetProperty15 = _loc1_;
  3230.          _loc1_.name = "stageHeight";
  3231.          _loc1_.value = 210;
  3232.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty15",this._RuntimeInstaller_SetProperty15);
  3233.          return _loc1_;
  3234.       }
  3235.       
  3236.       [Bindable(event="propertyChange")]
  3237.       public function get contentBox() : VBox
  3238.       {
  3239.          return this._264524434contentBox;
  3240.       }
  3241.       
  3242.       private function _RuntimeInstaller_VBox10_i() : VBox
  3243.       {
  3244.          var _loc1_:VBox = new VBox();
  3245.          this._RuntimeInstaller_VBox10 = _loc1_;
  3246.          _loc1_.styleName = "contentBox";
  3247.          _loc1_.percentWidth = 100;
  3248.          _loc1_.percentHeight = 100;
  3249.          _loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox10_creationComplete);
  3250.          _loc1_.id = "_RuntimeInstaller_VBox10";
  3251.          BindingManager.executeBindings(this,"_RuntimeInstaller_VBox10",this._RuntimeInstaller_VBox10);
  3252.          if(!_loc1_.document)
  3253.          {
  3254.             _loc1_.document = this;
  3255.          }
  3256.          _loc1_.addChild(this._RuntimeInstaller_LocalizedText9_i());
  3257.          _loc1_.addChild(this._RuntimeInstaller_Spacer12_c());
  3258.          _loc1_.addChild(this._RuntimeInstaller_Canvas2_i());
  3259.          _loc1_.addChild(this._RuntimeInstaller_Spacer13_i());
  3260.          _loc1_.addChild(this._RuntimeInstaller_LocalizedText10_c());
  3261.          _loc1_.addChild(this._RuntimeInstaller_Spacer14_c());
  3262.          _loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox8_c());
  3263.          return _loc1_;
  3264.       }
  3265.       
  3266.       [Bindable(event="propertyChange")]
  3267.       public function get iconBox() : VBox
  3268.       {
  3269.          return this._1638746770iconBox;
  3270.       }
  3271.       
  3272.       public function __completeFinish_click(param1:MouseEvent) : void
  3273.       {
  3274.          this.onFinish();
  3275.       }
  3276.       
  3277.       [Bindable(event="propertyChange")]
  3278.       public function get progressBar() : ProgressBar
  3279.       {
  3280.          return this._1131509414progressBar;
  3281.       }
  3282.       
  3283.       public function ___RuntimeInstaller_State2_enterState(param1:FlexEvent) : void
  3284.       {
  3285.          focusManager.setFocus(this.eula.agree);
  3286.       }
  3287.       
  3288.       private function set rightArrow(param1:Class) : void
  3289.       {
  3290.          var _loc2_:Object = null;
  3291.          _loc2_ = this._1415400627rightArrow;
  3292.          if(_loc2_ !== param1)
  3293.          {
  3294.             this._1415400627rightArrow = param1;
  3295.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"rightArrow",_loc2_,param1));
  3296.          }
  3297.       }
  3298.       
  3299.       public function set errorText(param1:TextArea) : void
  3300.       {
  3301.          var _loc2_:Object = null;
  3302.          _loc2_ = this._329533269errorText;
  3303.          if(_loc2_ !== param1)
  3304.          {
  3305.             this._329533269errorText = param1;
  3306.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"errorText",_loc2_,param1));
  3307.          }
  3308.       }
  3309.       
  3310.       public function __patchSameClose_click(param1:MouseEvent) : void
  3311.       {
  3312.          this.onFinish();
  3313.       }
  3314.       
  3315.       private function _RuntimeInstaller_State2_c() : State
  3316.       {
  3317.          var _loc1_:State = new State();
  3318.          _loc1_.name = "FirstLaunchEULA";
  3319.          _loc1_.basedOn = "EULA";
  3320.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty2_i(),this._RuntimeInstaller_SetProperty3_i(),this._RuntimeInstaller_SetProperty4_i()];
  3321.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State2_enterState);
  3322.          return _loc1_;
  3323.       }
  3324.       
  3325.       public function ___RuntimeInstaller_VBox11_creationComplete(param1:FlexEvent) : void
  3326.       {
  3327.          activate();
  3328.       }
  3329.       
  3330.       private function _RuntimeInstaller_RemoveChild3_i() : RemoveChild
  3331.       {
  3332.          var _loc1_:RemoveChild = new RemoveChild();
  3333.          this._RuntimeInstaller_RemoveChild3 = _loc1_;
  3334.          BindingManager.executeBindings(this,"_RuntimeInstaller_RemoveChild3",this._RuntimeInstaller_RemoveChild3);
  3335.          return _loc1_;
  3336.       }
  3337.       
  3338.       private function _RuntimeInstaller_LocalizedButton4_i() : LocalizedButton
  3339.       {
  3340.          var _loc1_:LocalizedButton = new LocalizedButton();
  3341.          this.patchNewerCancel = _loc1_;
  3342.          _loc1_.resourceName = "btnCancel";
  3343.          _loc1_.addEventListener("click",this.__patchNewerCancel_click);
  3344.          _loc1_.id = "patchNewerCancel";
  3345.          if(!_loc1_.document)
  3346.          {
  3347.             _loc1_.document = this;
  3348.          }
  3349.          return _loc1_;
  3350.       }
  3351.       
  3352.       public function ___RuntimeInstaller_InstallerApplication1_applicationComplete(param1:FlexEvent) : void
  3353.       {
  3354.          this.onApplicationComplete();
  3355.       }
  3356.       
  3357.       private function _RuntimeInstaller_State11_c() : State
  3358.       {
  3359.          var _loc1_:State = new State();
  3360.          _loc1_.name = "Complete";
  3361.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty15_i(),this._RuntimeInstaller_AddChild9_i()];
  3362.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State11_enterState);
  3363.          return _loc1_;
  3364.       }
  3365.       
  3366.       private function _RuntimeInstaller_LocalizedButton11_i() : LocalizedButton
  3367.       {
  3368.          var _loc1_:LocalizedButton = new LocalizedButton();
  3369.          this.patchNow = _loc1_;
  3370.          _loc1_.resourceName = "btnUpdateNow";
  3371.          _loc1_.enabled = false;
  3372.          _loc1_.addEventListener("click",this.__patchNow_click);
  3373.          _loc1_.id = "patchNow";
  3374.          if(!_loc1_.document)
  3375.          {
  3376.             _loc1_.document = this;
  3377.          }
  3378.          return _loc1_;
  3379.       }
  3380.       
  3381.       private function _RuntimeInstaller_bindingExprs() : void
  3382.       {
  3383.          var _loc1_:* = undefined;
  3384.          _loc1_ = this.airIcon;
  3385.          _loc1_ = this;
  3386.          _loc1_ = this.contentBox;
  3387.          _loc1_ = this.record.isNAI;
  3388.          _loc1_ = this.eula;
  3389.          _loc1_ = this.eula;
  3390.          _loc1_ = this.eula;
  3391.          _loc1_ = this;
  3392.          _loc1_ = this.contentBox;
  3393.          _loc1_ = this.additionalVersionAdd;
  3394.          _loc1_ = [this.record.versionShort];
  3395.          _loc1_ = this;
  3396.          _loc1_ = this.contentBox;
  3397.          _loc1_ = this.patchNewerUpdate;
  3398.          _loc1_ = this.record.currentPatchLevel;
  3399.          _loc1_ = this.record.newPatchLevel;
  3400.          _loc1_ = this;
  3401.          _loc1_ = this.contentBox;
  3402.          _loc1_ = this.patchSameClose;
  3403.          _loc1_ = this;
  3404.          _loc1_ = this.contentBox;
  3405.          _loc1_ = this.patchOlderClose;
  3406.          _loc1_ = this;
  3407.          _loc1_ = this.contentBox;
  3408.          _loc1_ = this.uninstallCancel;
  3409.          _loc1_ = this.installedApps;
  3410.          _loc1_ = this;
  3411.          _loc1_ = this.uninstallAppCanvas;
  3412.          _loc1_ = this;
  3413.          _loc1_ = this.contentBox;
  3414.          _loc1_ = this.progressResourceName;
  3415.          _loc1_ = this;
  3416.          _loc1_ = this.progressContent;
  3417.          _loc1_ = this.contentBox;
  3418.          _loc1_ = this;
  3419.          _loc1_ = this.progressCancel;
  3420.          _loc1_ = this;
  3421.          _loc1_ = this.contentBox;
  3422.          _loc1_ = this.completeFinish;
  3423.          _loc1_ = this.completeLabelResourceName;
  3424.          _loc1_ = this.completeTextResourceName;
  3425.          _loc1_ = this;
  3426.          _loc1_ = this.contentBox;
  3427.          _loc1_ = this.patchLater;
  3428.          _loc1_ = this;
  3429.          _loc1_ = this.updateAppsRunningCanvas;
  3430.          _loc1_ = this.updateSpacer;
  3431.          _loc1_ = this.updateText;
  3432.          _loc1_ = this.patchNow;
  3433.          _loc1_ = this.patchNow;
  3434.          _loc1_ = this.patchLater;
  3435.          _loc1_ = this;
  3436.          _loc1_ = this.contentBox;
  3437.          _loc1_ = this.errorClose;
  3438.       }
  3439.       
  3440.       private function _RuntimeInstaller_TextArea2_i() : TextArea
  3441.       {
  3442.          var _loc1_:TextArea = new TextArea();
  3443.          this.errorText = _loc1_;
  3444.          _loc1_.percentWidth = 100;
  3445.          _loc1_.percentHeight = 100;
  3446.          _loc1_.editable = false;
  3447.          _loc1_.focusEnabled = false;
  3448.          _loc1_.setStyle("backgroundAlpha",0);
  3449.          _loc1_.setStyle("borderStyle","none");
  3450.          _loc1_.setStyle("leading",0);
  3451.          _loc1_.id = "errorText";
  3452.          if(!_loc1_.document)
  3453.          {
  3454.             _loc1_.document = this;
  3455.          }
  3456.          return _loc1_;
  3457.       }
  3458.       
  3459.       public function ___RuntimeInstaller_State5_enterState(param1:FlexEvent) : void
  3460.       {
  3461.          focusManager.setFocus(this.patchSameClose);
  3462.       }
  3463.       
  3464.       private function _RuntimeInstaller_ClassFactory1_c() : ClassFactory
  3465.       {
  3466.          var _loc1_:ClassFactory = new ClassFactory();
  3467.          _loc1_.generator = InstalledAppItemRenderer;
  3468.          return _loc1_;
  3469.       }
  3470.       
  3471.       private function _RuntimeInstaller_AddChild11_i() : AddChild
  3472.       {
  3473.          var _loc1_:AddChild = new AddChild();
  3474.          this._RuntimeInstaller_AddChild11 = _loc1_;
  3475.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox11_i);
  3476.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild11",this._RuntimeInstaller_AddChild11);
  3477.          return _loc1_;
  3478.       }
  3479.       
  3480.       private function _RuntimeInstaller_SetProperty14_i() : SetProperty
  3481.       {
  3482.          var _loc1_:SetProperty = new SetProperty();
  3483.          this._RuntimeInstaller_SetProperty14 = _loc1_;
  3484.          _loc1_.name = "visible";
  3485.          _loc1_.value = false;
  3486.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty14",this._RuntimeInstaller_SetProperty14);
  3487.          return _loc1_;
  3488.       }
  3489.       
  3490.       protected function updateProgressAccessibility(param1:ProgressBar) : void
  3491.       {
  3492.          if(param1 && param1.accessibilityProperties)
  3493.          {
  3494.             param1.accessibilityProperties.name = param1.percentComplete + "%";
  3495.          }
  3496.          if(Accessibility.active)
  3497.          {
  3498.             Accessibility.updateProperties();
  3499.          }
  3500.       }
  3501.       
  3502.       public function ___RuntimeInstaller_State8_enterState(param1:FlexEvent) : void
  3503.       {
  3504.          focusManager.setFocus(this.uninstallCancel);
  3505.       }
  3506.       
  3507.       public function set patchNow(param1:LocalizedButton) : void
  3508.       {
  3509.          var _loc2_:Object = null;
  3510.          _loc2_ = this._1230359918patchNow;
  3511.          if(_loc2_ !== param1)
  3512.          {
  3513.             this._1230359918patchNow = param1;
  3514.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchNow",_loc2_,param1));
  3515.          }
  3516.       }
  3517.       
  3518.       private function _RuntimeInstaller_LocalizedText9_i() : LocalizedText
  3519.       {
  3520.          var _loc1_:LocalizedText = new LocalizedText();
  3521.          this.updateText = _loc1_;
  3522.          _loc1_.percentWidth = 100;
  3523.          _loc1_.condenseWhite = true;
  3524.          _loc1_.resourceName = "updateText";
  3525.          _loc1_.id = "updateText";
  3526.          if(!_loc1_.document)
  3527.          {
  3528.             _loc1_.document = this;
  3529.          }
  3530.          return _loc1_;
  3531.       }
  3532.       
  3533.       public function __patchNewerCancel_click(param1:MouseEvent) : void
  3534.       {
  3535.          this.onCancel();
  3536.       }
  3537.       
  3538.       private function _RuntimeInstaller_Spacer9_c() : Spacer
  3539.       {
  3540.          var _loc1_:Spacer = new Spacer();
  3541.          _loc1_.percentHeight = 100;
  3542.          if(!_loc1_.document)
  3543.          {
  3544.             _loc1_.document = this;
  3545.          }
  3546.          return _loc1_;
  3547.       }
  3548.       
  3549.       private function _RuntimeInstaller_TextArea1_i() : TextArea
  3550.       {
  3551.          var _loc1_:TextArea = new TextArea();
  3552.          this.updateAppsRunning = _loc1_;
  3553.          _loc1_.height = 60;
  3554.          _loc1_.percentWidth = 100;
  3555.          _loc1_.styleName = "eulaText";
  3556.          _loc1_.condenseWhite = true;
  3557.          _loc1_.editable = false;
  3558.          _loc1_.selectable = false;
  3559.          _loc1_.setStyle("leading",5);
  3560.          _loc1_.id = "updateAppsRunning";
  3561.          if(!_loc1_.document)
  3562.          {
  3563.             _loc1_.document = this;
  3564.          }
  3565.          return _loc1_;
  3566.       }
  3567.       
  3568.       private function onPreInitialize() : void
  3569.       {
  3570.          locManager = LocalizationManager.getInstance();
  3571.          locManager.defaultResourceBundleName = className;
  3572.       }
  3573.       
  3574.       private function asyncCall(param1:Function, param2:int = 1) : void
  3575.       {
  3576.          var f:Function = param1;
  3577.          var msec:int = param2;
  3578.          this.asyncCallTimer = new Timer(msec,1);
  3579.          this.asyncCallTimer.addEventListener(TimerEvent.TIMER,function(param1:Event):void
  3580.          {
  3581.             f();
  3582.          });
  3583.          this.asyncCallTimer.start();
  3584.       }
  3585.       
  3586.       private function _RuntimeInstaller_State1_c() : State
  3587.       {
  3588.          var _loc1_:State = new State();
  3589.          _loc1_.name = "EULA";
  3590.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty1_i(),this._RuntimeInstaller_AddChild1_i()];
  3591.          _loc1_.addEventListener("enterState",this.___RuntimeInstaller_State1_enterState);
  3592.          return _loc1_;
  3593.       }
  3594.       
  3595.       private function set downArrowNative(param1:Class) : void
  3596.       {
  3597.          var _loc2_:Object = null;
  3598.          _loc2_ = this._5542018downArrowNative;
  3599.          if(_loc2_ !== param1)
  3600.          {
  3601.             this._5542018downArrowNative = param1;
  3602.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"downArrowNative",_loc2_,param1));
  3603.          }
  3604.       }
  3605.       
  3606.       private function _RuntimeInstaller_LocalizedButton3_i() : LocalizedButton
  3607.       {
  3608.          var _loc1_:LocalizedButton = new LocalizedButton();
  3609.          this.patchNewerUpdate = _loc1_;
  3610.          _loc1_.resourceName = "btnUpdate";
  3611.          _loc1_.styleName = "defaultButton";
  3612.          _loc1_.addEventListener("click",this.__patchNewerUpdate_click);
  3613.          _loc1_.id = "patchNewerUpdate";
  3614.          if(!_loc1_.document)
  3615.          {
  3616.             _loc1_.document = this;
  3617.          }
  3618.          return _loc1_;
  3619.       }
  3620.       
  3621.       private function _RuntimeInstaller_RemoveChild2_i() : RemoveChild
  3622.       {
  3623.          var _loc1_:RemoveChild = new RemoveChild();
  3624.          this._RuntimeInstaller_RemoveChild2 = _loc1_;
  3625.          BindingManager.executeBindings(this,"_RuntimeInstaller_RemoveChild2",this._RuntimeInstaller_RemoveChild2);
  3626.          return _loc1_;
  3627.       }
  3628.       
  3629.       private function _RuntimeInstaller_State10_c() : State
  3630.       {
  3631.          var _loc1_:State = new State();
  3632.          _loc1_.name = "ProgressCancel";
  3633.          _loc1_.overrides = [this._RuntimeInstaller_SetProperty12_i(),this._RuntimeInstaller_AddChild8_i(),this._RuntimeInstaller_SetProperty13_i(),this._RuntimeInstaller_SetProperty14_i()];
  3634.          return _loc1_;
  3635.       }
  3636.       
  3637.       [Bindable(event="propertyChange")]
  3638.       private function get appIconNativeBG() : Class
  3639.       {
  3640.          return this._463497974appIconNativeBG;
  3641.       }
  3642.       
  3643.       private function _RuntimeInstaller_LocalizedButton10_i() : LocalizedButton
  3644.       {
  3645.          var _loc1_:LocalizedButton = new LocalizedButton();
  3646.          this.completeFinish = _loc1_;
  3647.          _loc1_.styleName = "defaultButton";
  3648.          _loc1_.resourceName = "btnFinish";
  3649.          _loc1_.addEventListener("click",this.__completeFinish_click);
  3650.          _loc1_.id = "completeFinish";
  3651.          if(!_loc1_.document)
  3652.          {
  3653.             _loc1_.document = this;
  3654.          }
  3655.          return _loc1_;
  3656.       }
  3657.       
  3658.       [Bindable(event="propertyChange")]
  3659.       public function get progressCancel() : LocalizedButton
  3660.       {
  3661.          return this._1922221831progressCancel;
  3662.       }
  3663.       
  3664.       [Bindable(event="propertyChange")]
  3665.       private function get redSecurityIcon() : Class
  3666.       {
  3667.          return this._2057878774redSecurityIcon;
  3668.       }
  3669.       
  3670.       private function _RuntimeInstaller_SetProperty13_i() : SetProperty
  3671.       {
  3672.          var _loc1_:SetProperty = new SetProperty();
  3673.          this._RuntimeInstaller_SetProperty13 = _loc1_;
  3674.          _loc1_.name = "progressResourceName";
  3675.          _loc1_.value = "progressCanceling";
  3676.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty13",this._RuntimeInstaller_SetProperty13);
  3677.          return _loc1_;
  3678.       }
  3679.       
  3680.       public function ___RuntimeInstaller_State13_enterState(param1:FlexEvent) : void
  3681.       {
  3682.          focusManager.setFocus(this.patchNow);
  3683.       }
  3684.       
  3685.       private function _RuntimeInstaller_AddChild10_i() : AddChild
  3686.       {
  3687.          var _loc1_:AddChild = new AddChild();
  3688.          this._RuntimeInstaller_AddChild10 = _loc1_;
  3689.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox10_i);
  3690.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild10",this._RuntimeInstaller_AddChild10);
  3691.          return _loc1_;
  3692.       }
  3693.       
  3694.       public function set progressContent(param1:VBox) : void
  3695.       {
  3696.          var _loc2_:Object = null;
  3697.          _loc2_ = this._139350644progressContent;
  3698.          if(_loc2_ !== param1)
  3699.          {
  3700.             this._139350644progressContent = param1;
  3701.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressContent",_loc2_,param1));
  3702.          }
  3703.       }
  3704.       
  3705.       private function _RuntimeInstaller_Spacer8_c() : Spacer
  3706.       {
  3707.          var _loc1_:Spacer = new Spacer();
  3708.          _loc1_.percentHeight = 100;
  3709.          if(!_loc1_.document)
  3710.          {
  3711.             _loc1_.document = this;
  3712.          }
  3713.          return _loc1_;
  3714.       }
  3715.       
  3716.       [Bindable(event="propertyChange")]
  3717.       public function get patchLater() : LocalizedButton
  3718.       {
  3719.          return this._1257611044patchLater;
  3720.       }
  3721.       
  3722.       public function __iconBox_creationComplete(param1:FlexEvent) : void
  3723.       {
  3724.          this.hideFromAccessibility(this.iconBox);
  3725.       }
  3726.       
  3727.       public function ___RuntimeInstaller_VBox3_creationComplete(param1:FlexEvent) : void
  3728.       {
  3729.          activate();
  3730.       }
  3731.       
  3732.       private function _RuntimeInstaller_LocalizedText8_i() : LocalizedText
  3733.       {
  3734.          var _loc1_:LocalizedText = new LocalizedText();
  3735.          this._RuntimeInstaller_LocalizedText8 = _loc1_;
  3736.          _loc1_.percentWidth = 100;
  3737.          _loc1_.percentHeight = 100;
  3738.          _loc1_.condenseWhite = true;
  3739.          _loc1_.useHTML = true;
  3740.          _loc1_.id = "_RuntimeInstaller_LocalizedText8";
  3741.          BindingManager.executeBindings(this,"_RuntimeInstaller_LocalizedText8",this._RuntimeInstaller_LocalizedText8);
  3742.          if(!_loc1_.document)
  3743.          {
  3744.             _loc1_.document = this;
  3745.          }
  3746.          return _loc1_;
  3747.       }
  3748.       
  3749.       private function _RuntimeInstaller_List1_i() : List
  3750.       {
  3751.          var _loc1_:List = new List();
  3752.          this.installedAppsList = _loc1_;
  3753.          _loc1_.percentWidth = 100;
  3754.          _loc1_.rowCount = 4;
  3755.          _loc1_.selectable = false;
  3756.          _loc1_.rowHeight = 22;
  3757.          _loc1_.itemRenderer = this._RuntimeInstaller_ClassFactory1_c();
  3758.          _loc1_.labelField = "name";
  3759.          _loc1_.setStyle("borderThickness",1);
  3760.          _loc1_.addEventListener("creationComplete",this.__installedAppsList_creationComplete);
  3761.          _loc1_.id = "installedAppsList";
  3762.          BindingManager.executeBindings(this,"installedAppsList",this.installedAppsList);
  3763.          if(!_loc1_.document)
  3764.          {
  3765.             _loc1_.document = this;
  3766.          }
  3767.          return _loc1_;
  3768.       }
  3769.       
  3770.       private function _RuntimeInstaller_RemoveChild1_i() : RemoveChild
  3771.       {
  3772.          var _loc1_:RemoveChild = new RemoveChild();
  3773.          this._RuntimeInstaller_RemoveChild1 = _loc1_;
  3774.          BindingManager.executeBindings(this,"_RuntimeInstaller_RemoveChild1",this._RuntimeInstaller_RemoveChild1);
  3775.          return _loc1_;
  3776.       }
  3777.       
  3778.       private function _RuntimeInstaller_OSButtonBarHBox9_c() : OSButtonBarHBox
  3779.       {
  3780.          var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
  3781.          _loc1_.styleName = "buttonRow";
  3782.          _loc1_.percentWidth = 100;
  3783.          if(!_loc1_.document)
  3784.          {
  3785.             _loc1_.document = this;
  3786.          }
  3787.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton13_i());
  3788.          return _loc1_;
  3789.       }
  3790.       
  3791.       private function onDataChange(param1:Event) : void
  3792.       {
  3793.          if(this.record.updateRunning.length)
  3794.          {
  3795.             currentState = "InstallUpdates";
  3796.             this.updateAppsRunning.htmlText = this.getUpdateAppsText(this.record.updateRunning);
  3797.          }
  3798.          else
  3799.          {
  3800.             currentState = "InstallUpdatesNoApps";
  3801.          }
  3802.       }
  3803.       
  3804.       private function _RuntimeInstaller_LocalizedButton2_i() : LocalizedButton
  3805.       {
  3806.          var _loc1_:LocalizedButton = new LocalizedButton();
  3807.          this.additionalVersionCancel = _loc1_;
  3808.          _loc1_.resourceName = "btnCancel";
  3809.          _loc1_.addEventListener("click",this.__additionalVersionCancel_click);
  3810.          _loc1_.id = "additionalVersionCancel";
  3811.          if(!_loc1_.document)
  3812.          {
  3813.             _loc1_.document = this;
  3814.          }
  3815.          return _loc1_;
  3816.       }
  3817.       
  3818.       [Bindable(event="propertyChange")]
  3819.       private function get redBlockedIcon() : Class
  3820.       {
  3821.          return this._1707366196redBlockedIcon;
  3822.       }
  3823.       
  3824.       [Bindable(event="propertyChange")]
  3825.       public function get completeFinish() : LocalizedButton
  3826.       {
  3827.          return this._713956140completeFinish;
  3828.       }
  3829.       
  3830.       private function onFinish() : void
  3831.       {
  3832.          stage.nativeWindow.visible = false;
  3833.          this.sharedEvents.dispatchEvent(new Event("installui.complete"));
  3834.       }
  3835.       
  3836.       private function _RuntimeInstaller_LocalizedLabel10_c() : LocalizedLabel
  3837.       {
  3838.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  3839.          _loc1_.styleName = "h2";
  3840.          _loc1_.resourceName = "titleError";
  3841.          if(!_loc1_.document)
  3842.          {
  3843.             _loc1_.document = this;
  3844.          }
  3845.          return _loc1_;
  3846.       }
  3847.       
  3848.       public function __patchOlderClose_click(param1:MouseEvent) : void
  3849.       {
  3850.          this.onFinish();
  3851.       }
  3852.       
  3853.       public function __patchNow_click(param1:MouseEvent) : void
  3854.       {
  3855.          this.onPatchNow();
  3856.       }
  3857.       
  3858.       private function _RuntimeInstaller_SetProperty12_i() : SetProperty
  3859.       {
  3860.          var _loc1_:SetProperty = new SetProperty();
  3861.          this._RuntimeInstaller_SetProperty12 = _loc1_;
  3862.          _loc1_.name = "stageHeight";
  3863.          _loc1_.value = 210;
  3864.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty12",this._RuntimeInstaller_SetProperty12);
  3865.          return _loc1_;
  3866.       }
  3867.       
  3868.       [Bindable(event="propertyChange")]
  3869.       public function get errorText() : TextArea
  3870.       {
  3871.          return this._329533269errorText;
  3872.       }
  3873.       
  3874.       private function _RuntimeInstaller_Spacer7_c() : Spacer
  3875.       {
  3876.          var _loc1_:Spacer = new Spacer();
  3877.          _loc1_.percentHeight = 100;
  3878.          if(!_loc1_.document)
  3879.          {
  3880.             _loc1_.document = this;
  3881.          }
  3882.          return _loc1_;
  3883.       }
  3884.       
  3885.       protected function accessibleName(param1:String, param2:String = null) : AccessibilityProperties
  3886.       {
  3887.          var _loc3_:AccessibilityProperties = new AccessibilityProperties();
  3888.          _loc3_.name = LocalizationManager.getInstance().getString(param1,param2);
  3889.          return _loc3_;
  3890.       }
  3891.       
  3892.       private function _RuntimeInstaller_LocalizedText7_c() : LocalizedText
  3893.       {
  3894.          var _loc1_:LocalizedText = new LocalizedText();
  3895.          _loc1_.percentWidth = 100;
  3896.          _loc1_.condenseWhite = true;
  3897.          _loc1_.resourceName = "msgConfirmRemoveAirPrompt";
  3898.          _loc1_.useHTML = true;
  3899.          if(!_loc1_.document)
  3900.          {
  3901.             _loc1_.document = this;
  3902.          }
  3903.          return _loc1_;
  3904.       }
  3905.       
  3906.       public function set updateText(param1:LocalizedText) : void
  3907.       {
  3908.          var _loc2_:Object = null;
  3909.          _loc2_ = this._295934570updateText;
  3910.          if(_loc2_ !== param1)
  3911.          {
  3912.             this._295934570updateText = param1;
  3913.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateText",_loc2_,param1));
  3914.          }
  3915.       }
  3916.       
  3917.       public function ___RuntimeInstaller_VBox5_creationComplete(param1:FlexEvent) : void
  3918.       {
  3919.          activate();
  3920.       }
  3921.       
  3922.       private function onError(param1:ErrorEvent) : void
  3923.       {
  3924.          var _loc2_:String = null;
  3925.          if(this.ERROR_ID_TO_NAME.hasOwnProperty(param1.errorID))
  3926.          {
  3927.             _loc2_ = this.ERROR_ID_TO_NAME[param1.errorID];
  3928.          }
  3929.          else if(this.record.type == "uninstall")
  3930.          {
  3931.             _loc2_ = "genericUninstallError";
  3932.          }
  3933.          else
  3934.          {
  3935.             _loc2_ = "genericInstallError";
  3936.          }
  3937.          currentState = "Error";
  3938.          this.errorText.text = locManager.getString(_loc2_);
  3939.       }
  3940.       
  3941.       public function __progressContent_creationComplete(param1:FlexEvent) : void
  3942.       {
  3943.          activate();
  3944.       }
  3945.       
  3946.       private function _RuntimeInstaller_OSButtonBarHBox8_c() : OSButtonBarHBox
  3947.       {
  3948.          var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
  3949.          _loc1_.percentWidth = 100;
  3950.          _loc1_.styleName = "buttonRow";
  3951.          if(!_loc1_.document)
  3952.          {
  3953.             _loc1_.document = this;
  3954.          }
  3955.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton11_i());
  3956.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton12_i());
  3957.          return _loc1_;
  3958.       }
  3959.       
  3960.       [Bindable(event="propertyChange")]
  3961.       private function get rightArrow() : Class
  3962.       {
  3963.          return this._1415400627rightArrow;
  3964.       }
  3965.       
  3966.       public function set patchOlderClose(param1:LocalizedButton) : void
  3967.       {
  3968.          var _loc2_:Object = null;
  3969.          _loc2_ = this._1748930644patchOlderClose;
  3970.          if(_loc2_ !== param1)
  3971.          {
  3972.             this._1748930644patchOlderClose = param1;
  3973.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchOlderClose",_loc2_,param1));
  3974.          }
  3975.       }
  3976.       
  3977.       private function _RuntimeInstaller_SetStyle2_i() : SetStyle
  3978.       {
  3979.          var _loc1_:SetStyle = new SetStyle();
  3980.          this._RuntimeInstaller_SetStyle2 = _loc1_;
  3981.          _loc1_.name = "styleName";
  3982.          _loc1_.value = "";
  3983.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetStyle2",this._RuntimeInstaller_SetStyle2);
  3984.          return _loc1_;
  3985.       }
  3986.       
  3987.       private function _RuntimeInstaller_LocalizedButton1_i() : LocalizedButton
  3988.       {
  3989.          var _loc1_:LocalizedButton = new LocalizedButton();
  3990.          this.additionalVersionAdd = _loc1_;
  3991.          _loc1_.resourceName = "btnContinue";
  3992.          _loc1_.styleName = "defaultButton";
  3993.          _loc1_.setStyle("icon",this._embed_mxml_assets_add_png_189231772);
  3994.          _loc1_.addEventListener("click",this.__additionalVersionAdd_click);
  3995.          _loc1_.id = "additionalVersionAdd";
  3996.          if(!_loc1_.document)
  3997.          {
  3998.             _loc1_.document = this;
  3999.          }
  4000.          return _loc1_;
  4001.       }
  4002.       
  4003.       private function _RuntimeInstaller_Grid1_c() : Grid
  4004.       {
  4005.          var _loc1_:Grid = new Grid();
  4006.          _loc1_.percentWidth = 100;
  4007.          _loc1_.setStyle("verticalGap",0);
  4008.          if(!_loc1_.document)
  4009.          {
  4010.             _loc1_.document = this;
  4011.          }
  4012.          _loc1_.addChild(this._RuntimeInstaller_GridRow1_c());
  4013.          _loc1_.addChild(this._RuntimeInstaller_GridRow2_c());
  4014.          return _loc1_;
  4015.       }
  4016.       
  4017.       private function _RuntimeInstaller_SetProperty9_i() : SetProperty
  4018.       {
  4019.          var _loc1_:SetProperty = new SetProperty();
  4020.          this._RuntimeInstaller_SetProperty9 = _loc1_;
  4021.          _loc1_.name = "stageHeight";
  4022.          _loc1_.value = 300;
  4023.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty9",this._RuntimeInstaller_SetProperty9);
  4024.          return _loc1_;
  4025.       }
  4026.       
  4027.       public function set patchNewerCancel(param1:LocalizedButton) : void
  4028.       {
  4029.          var _loc2_:Object = null;
  4030.          _loc2_ = this._503203263patchNewerCancel;
  4031.          if(_loc2_ !== param1)
  4032.          {
  4033.             this._503203263patchNewerCancel = param1;
  4034.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchNewerCancel",_loc2_,param1));
  4035.          }
  4036.       }
  4037.       
  4038.       private function set rightArrowNative(param1:Class) : void
  4039.       {
  4040.          var _loc2_:Object = null;
  4041.          _loc2_ = this._1501004228rightArrowNative;
  4042.          if(_loc2_ !== param1)
  4043.          {
  4044.             this._1501004228rightArrowNative = param1;
  4045.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"rightArrowNative",_loc2_,param1));
  4046.          }
  4047.       }
  4048.       
  4049.       [Bindable(event="propertyChange")]
  4050.       private function get downArrowNative() : Class
  4051.       {
  4052.          return this._5542018downArrowNative;
  4053.       }
  4054.       
  4055.       override public function initialize() : void
  4056.       {
  4057.          var target:RuntimeInstaller = null;
  4058.          var watcherSetupUtilClass:Object = null;
  4059.          mx_internal::setDocumentDescriptor(this._documentDescriptor_);
  4060.          var bindings:Array = this._RuntimeInstaller_bindingsSetup();
  4061.          var watchers:Array = [];
  4062.          target = this;
  4063.          if(_watcherSetupUtil == null)
  4064.          {
  4065.             watcherSetupUtilClass = getDefinitionByName("_RuntimeInstallerWatcherSetupUtil");
  4066.             watcherSetupUtilClass["init"](null);
  4067.          }
  4068.          _watcherSetupUtil.setup(this,function(param1:String):*
  4069.          {
  4070.             return target[param1];
  4071.          },bindings,watchers);
  4072.          var i:uint = 0;
  4073.          while(i < bindings.length)
  4074.          {
  4075.             Binding(bindings[i]).execute();
  4076.             i++;
  4077.          }
  4078.          mx_internal::_bindings = mx_internal::_bindings.concat(bindings);
  4079.          mx_internal::_watchers = mx_internal::_watchers.concat(watchers);
  4080.          super.initialize();
  4081.       }
  4082.       
  4083.       private function _RuntimeInstaller_SetProperty11_i() : SetProperty
  4084.       {
  4085.          var _loc1_:SetProperty = new SetProperty();
  4086.          this._RuntimeInstaller_SetProperty11 = _loc1_;
  4087.          _loc1_.name = "stageHeight";
  4088.          _loc1_.value = 210;
  4089.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty11",this._RuntimeInstaller_SetProperty11);
  4090.          return _loc1_;
  4091.       }
  4092.       
  4093.       public function set installedAppsList(param1:List) : void
  4094.       {
  4095.          var _loc2_:Object = null;
  4096.          _loc2_ = this._1112610870installedAppsList;
  4097.          if(_loc2_ !== param1)
  4098.          {
  4099.             this._1112610870installedAppsList = param1;
  4100.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"installedAppsList",_loc2_,param1));
  4101.          }
  4102.       }
  4103.       
  4104.       public function set patchSameClose(param1:LocalizedButton) : void
  4105.       {
  4106.          var _loc2_:Object = null;
  4107.          _loc2_ = this._607735242patchSameClose;
  4108.          if(_loc2_ !== param1)
  4109.          {
  4110.             this._607735242patchSameClose = param1;
  4111.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchSameClose",_loc2_,param1));
  4112.          }
  4113.       }
  4114.       
  4115.       private function getUpdateAppsText(param1:Array) : String
  4116.       {
  4117.          var _loc2_:* = "";
  4118.          if(!param1)
  4119.          {
  4120.             return _loc2_;
  4121.          }
  4122.          var _loc3_:int = 0;
  4123.          while(_loc3_ < param1.length)
  4124.          {
  4125.             _loc2_ += Object(param1[_loc3_]).label;
  4126.             if(_loc3_ < param1.length - 1)
  4127.             {
  4128.                _loc2_ += "<br />";
  4129.             }
  4130.             _loc3_++;
  4131.          }
  4132.          return _loc2_;
  4133.       }
  4134.       
  4135.       private function _RuntimeInstaller_LocalizedText6_c() : LocalizedText
  4136.       {
  4137.          var _loc1_:LocalizedText = new LocalizedText();
  4138.          _loc1_.percentWidth = 100;
  4139.          _loc1_.condenseWhite = true;
  4140.          _loc1_.resourceName = "msgConfirmRemoveAir";
  4141.          _loc1_.useHTML = true;
  4142.          if(!_loc1_.document)
  4143.          {
  4144.             _loc1_.document = this;
  4145.          }
  4146.          return _loc1_;
  4147.       }
  4148.       
  4149.       public function ___RuntimeInstaller_VBox7_creationComplete(param1:FlexEvent) : void
  4150.       {
  4151.          activate();
  4152.       }
  4153.       
  4154.       private function _RuntimeInstaller_Spacer6_c() : Spacer
  4155.       {
  4156.          var _loc1_:Spacer = new Spacer();
  4157.          _loc1_.percentHeight = 100;
  4158.          if(!_loc1_.document)
  4159.          {
  4160.             _loc1_.document = this;
  4161.          }
  4162.          return _loc1_;
  4163.       }
  4164.       
  4165.       [Bindable(event="propertyChange")]
  4166.       public function get patchOlderClose() : LocalizedButton
  4167.       {
  4168.          return this._1748930644patchOlderClose;
  4169.       }
  4170.       
  4171.       private function _RuntimeInstaller_AddChild9_i() : AddChild
  4172.       {
  4173.          var _loc1_:AddChild = new AddChild();
  4174.          this._RuntimeInstaller_AddChild9 = _loc1_;
  4175.          _loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox9_i);
  4176.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild9",this._RuntimeInstaller_AddChild9);
  4177.          return _loc1_;
  4178.       }
  4179.       
  4180.       private function _RuntimeInstaller_GridRow2_c() : GridRow
  4181.       {
  4182.          var _loc1_:GridRow = new GridRow();
  4183.          _loc1_.percentWidth = 100;
  4184.          if(!_loc1_.document)
  4185.          {
  4186.             _loc1_.document = this;
  4187.          }
  4188.          _loc1_.addChild(this._RuntimeInstaller_GridItem3_c());
  4189.          _loc1_.addChild(this._RuntimeInstaller_GridItem4_c());
  4190.          return _loc1_;
  4191.       }
  4192.       
  4193.       private function _RuntimeInstaller_LocalizedLabel9_i() : LocalizedLabel
  4194.       {
  4195.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  4196.          this._RuntimeInstaller_LocalizedLabel9 = _loc1_;
  4197.          _loc1_.styleName = "h2";
  4198.          _loc1_.id = "_RuntimeInstaller_LocalizedLabel9";
  4199.          BindingManager.executeBindings(this,"_RuntimeInstaller_LocalizedLabel9",this._RuntimeInstaller_LocalizedLabel9);
  4200.          if(!_loc1_.document)
  4201.          {
  4202.             _loc1_.document = this;
  4203.          }
  4204.          return _loc1_;
  4205.       }
  4206.       
  4207.       private function _RuntimeInstaller_SetProperty8_i() : SetProperty
  4208.       {
  4209.          var _loc1_:SetProperty = new SetProperty();
  4210.          this._RuntimeInstaller_SetProperty8 = _loc1_;
  4211.          _loc1_.name = "stageHeight";
  4212.          _loc1_.value = 210;
  4213.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty8",this._RuntimeInstaller_SetProperty8);
  4214.          return _loc1_;
  4215.       }
  4216.       
  4217.       private function _RuntimeInstaller_OSButtonBarHBox7_c() : OSButtonBarHBox
  4218.       {
  4219.          var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
  4220.          _loc1_.styleName = "buttonRow";
  4221.          _loc1_.percentWidth = 100;
  4222.          if(!_loc1_.document)
  4223.          {
  4224.             _loc1_.document = this;
  4225.          }
  4226.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton10_i());
  4227.          return _loc1_;
  4228.       }
  4229.       
  4230.       protected function hiddenAccessibility() : AccessibilityProperties
  4231.       {
  4232.          var _loc1_:AccessibilityProperties = new AccessibilityProperties();
  4233.          _loc1_.silent = true;
  4234.          return _loc1_;
  4235.       }
  4236.       
  4237.       [Bindable(event="propertyChange")]
  4238.       public function get installedAppsList() : List
  4239.       {
  4240.          return this._1112610870installedAppsList;
  4241.       }
  4242.       
  4243.       private function _RuntimeInstaller_SetStyle1_i() : SetStyle
  4244.       {
  4245.          var _loc1_:SetStyle = new SetStyle();
  4246.          this._RuntimeInstaller_SetStyle1 = _loc1_;
  4247.          _loc1_.name = "styleName";
  4248.          _loc1_.value = "defaultButton";
  4249.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetStyle1",this._RuntimeInstaller_SetStyle1);
  4250.          return _loc1_;
  4251.       }
  4252.       
  4253.       private function _RuntimeInstaller_Spacer5_c() : Spacer
  4254.       {
  4255.          var _loc1_:Spacer = new Spacer();
  4256.          _loc1_.percentHeight = 100;
  4257.          if(!_loc1_.document)
  4258.          {
  4259.             _loc1_.document = this;
  4260.          }
  4261.          return _loc1_;
  4262.       }
  4263.       
  4264.       private function _RuntimeInstaller_SetProperty10_i() : SetProperty
  4265.       {
  4266.          var _loc1_:SetProperty = new SetProperty();
  4267.          this._RuntimeInstaller_SetProperty10 = _loc1_;
  4268.          _loc1_.name = "stageHeight";
  4269.          _loc1_.value = 200;
  4270.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty10",this._RuntimeInstaller_SetProperty10);
  4271.          return _loc1_;
  4272.       }
  4273.       
  4274.       private function _RuntimeInstaller_LocalizedText5_c() : LocalizedText
  4275.       {
  4276.          var _loc1_:LocalizedText = new LocalizedText();
  4277.          _loc1_.percentWidth = 100;
  4278.          _loc1_.condenseWhite = true;
  4279.          _loc1_.resourceName = "errNewerVersionAlreadyInstalled";
  4280.          if(!_loc1_.document)
  4281.          {
  4282.             _loc1_.document = this;
  4283.          }
  4284.          return _loc1_;
  4285.       }
  4286.       
  4287.       private function _RuntimeInstaller_OSButtonBarHBox6_c() : OSButtonBarHBox
  4288.       {
  4289.          var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
  4290.          _loc1_.styleName = "buttonRow";
  4291.          _loc1_.percentWidth = 100;
  4292.          if(!_loc1_.document)
  4293.          {
  4294.             _loc1_.document = this;
  4295.          }
  4296.          _loc1_.addChild(this._RuntimeInstaller_LocalizedButton9_i());
  4297.          return _loc1_;
  4298.       }
  4299.       
  4300.       private function onConfirm() : void
  4301.       {
  4302.          if(currentState == "PatchNewer" && !this.record.isEULAAccepted)
  4303.          {
  4304.             currentState = "EULA";
  4305.          }
  4306.          else
  4307.          {
  4308.             currentState = "Progress";
  4309.             this.sharedEvents.dispatchEvent(new Event("installui.confirm"));
  4310.          }
  4311.       }
  4312.       
  4313.       private function _RuntimeInstaller_GridRow1_c() : GridRow
  4314.       {
  4315.          var _loc1_:GridRow = new GridRow();
  4316.          _loc1_.percentWidth = 100;
  4317.          if(!_loc1_.document)
  4318.          {
  4319.             _loc1_.document = this;
  4320.          }
  4321.          _loc1_.addChild(this._RuntimeInstaller_GridItem1_c());
  4322.          _loc1_.addChild(this._RuntimeInstaller_GridItem2_c());
  4323.          return _loc1_;
  4324.       }
  4325.       
  4326.       public function __eula_agree(param1:Event) : void
  4327.       {
  4328.          this.onConfirm();
  4329.       }
  4330.       
  4331.       private function _RuntimeInstaller_Canvas2_i() : Canvas
  4332.       {
  4333.          var _loc1_:Canvas = new Canvas();
  4334.          this.updateAppsRunningCanvas = _loc1_;
  4335.          _loc1_.styleName = "textBorderWrapper";
  4336.          _loc1_.percentWidth = 100;
  4337.          _loc1_.id = "updateAppsRunningCanvas";
  4338.          if(!_loc1_.document)
  4339.          {
  4340.             _loc1_.document = this;
  4341.          }
  4342.          _loc1_.addChild(this._RuntimeInstaller_TextArea1_i());
  4343.          return _loc1_;
  4344.       }
  4345.       
  4346.       private function _RuntimeInstaller_AddChild8_i() : AddChild
  4347.       {
  4348.          var _loc1_:AddChild = new AddChild();
  4349.          this._RuntimeInstaller_AddChild8 = _loc1_;
  4350.          BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild8",this._RuntimeInstaller_AddChild8);
  4351.          return _loc1_;
  4352.       }
  4353.       
  4354.       public function set uninstallCancel(param1:LocalizedButton) : void
  4355.       {
  4356.          var _loc2_:Object = null;
  4357.          _loc2_ = this._1634233860uninstallCancel;
  4358.          if(_loc2_ !== param1)
  4359.          {
  4360.             this._1634233860uninstallCancel = param1;
  4361.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"uninstallCancel",_loc2_,param1));
  4362.          }
  4363.       }
  4364.       
  4365.       private function _RuntimeInstaller_LocalizedLabel8_i() : LocalizedLabel
  4366.       {
  4367.          var _loc1_:LocalizedLabel = new LocalizedLabel();
  4368.          this.progressLabel = _loc1_;
  4369.          _loc1_.styleName = "formItemText";
  4370.          _loc1_.id = "progressLabel";
  4371.          BindingManager.executeBindings(this,"progressLabel",this.progressLabel);
  4372.          if(!_loc1_.document)
  4373.          {
  4374.             _loc1_.document = this;
  4375.          }
  4376.          return _loc1_;
  4377.       }
  4378.       
  4379.       private function _RuntimeInstaller_SetProperty7_i() : SetProperty
  4380.       {
  4381.          var _loc1_:SetProperty = new SetProperty();
  4382.          this._RuntimeInstaller_SetProperty7 = _loc1_;
  4383.          _loc1_.name = "stageHeight";
  4384.          _loc1_.value = 210;
  4385.          BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty7",this._RuntimeInstaller_SetProperty7);
  4386.          return _loc1_;
  4387.       }
  4388.       
  4389.       private function set appIconBG(param1:Class) : void
  4390.       {
  4391.          var _loc2_:Object = null;
  4392.          _loc2_ = this._1197773823appIconBG;
  4393.          if(_loc2_ !== param1)
  4394.          {
  4395.             this._1197773823appIconBG = param1;
  4396.             this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconBG",_loc2_,param1));
  4397.          }
  4398.       }
  4399.       
  4400.       [Bindable(event="propertyChange")]
  4401.       private function get appIconBG() : Class
  4402.       {
  4403.          return this._1197773823appIconBG;
  4404.       }
  4405.    }
  4406. }
  4407.